From patchwork Fri Feb 15 12:45:04 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 14877 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id DAB4B23E2E for ; Fri, 15 Feb 2013 12:47:01 +0000 (UTC) Received: from mail-vb0-f46.google.com (mail-vb0-f46.google.com [209.85.212.46]) by fiordland.canonical.com (Postfix) with ESMTP id 7C1C8A1828F for ; Fri, 15 Feb 2013 12:47:01 +0000 (UTC) Received: by mail-vb0-f46.google.com with SMTP id b13so2068642vby.19 for ; Fri, 15 Feb 2013 04:47:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=GKtw77fnDzIYmvzSVTN/b3GgWAku07fhsd9FS2CRoEE=; b=dCnFdheolF/OEdniBSh9s45Om8hCj0uwLLhJYeATyhtgK8aU86qmm+8moup6LlxEAu mKrsSstvK7cuxwxzNUaFpaT6WDJ137b55YEPIb42viPkg73f6hWNp5/yo32yfjK6ibp/ I+kIoimgs0sve+eIngV5JZJnZLbed4rbxcyUkzh52LdwrMllPj2FZ9vNQOQ9d3qy/gUq E5VJVcz0OgfohT5tUGYZ1zPEqEQVFgpI7OR8opcOsXOtLrEHRCGDKVd1piDqNhiiqj6Z q5dG2UkpBz4BDNS6sSOEiWfhTZwDcUNTmtNWw/yXBzv+n4vRimzsN1lvVBQ1oVrRRegx 7z8w== X-Received: by 10.52.98.5 with SMTP id ee5mr2480610vdb.102.1360932420995; Fri, 15 Feb 2013 04:47:00 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.221.4.5 with SMTP id oa5csp10906vcb; Fri, 15 Feb 2013 04:47:00 -0800 (PST) X-Received: by 10.194.174.234 with SMTP id bv10mr3905483wjc.47.1360932417537; Fri, 15 Feb 2013 04:46:57 -0800 (PST) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx.google.com with ESMTPS id g6si1051579wie.9.2013.02.15.04.46.56 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 15 Feb 2013 04:46:57 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.172; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-wi0-f172.google.com with SMTP id ez12so1096548wid.11 for ; Fri, 15 Feb 2013 04:46:56 -0800 (PST) X-Received: by 10.180.72.148 with SMTP id d20mr5497959wiv.31.1360932416687; Fri, 15 Feb 2013 04:46:56 -0800 (PST) Received: from localhost.localdomain (cpc34-aztw25-2-0-cust250.18-1.cable.virginmedia.com. [86.16.136.251]) by mx.google.com with ESMTPS id bs6sm5133904wib.4.2013.02.15.04.46.54 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 15 Feb 2013 04:46:55 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@stericsson.com, cbouatmailru@gmail.com, sameo@linux.intel.com, Rupesh Kumar , Lee Jones Subject: [PATCH 34/40] pm2301-charger: Charging LED control for pm2301 Date: Fri, 15 Feb 2013 12:45:04 +0000 Message-Id: <1360932310-30065-35-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1360932310-30065-1-git-send-email-lee.jones@linaro.org> References: <1360932310-30065-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQn6U1ks/JF/bfppOLAn8VN6ifbsHRFXTIQRgHfr0TkgVbenDx29ofyUX7FoESo4eStUZhyl From: Rupesh Kumar The LED Indicator feature allows indicating through a led when the PM2301 battery charging is active. SW shall not disable this LED. Signed-off-by: Rupesh Kumar Signed-off-by: Lee Jones Reviewed-by: Marcus COOPER Reviewed-by: Philippe LANGLAIS --- drivers/power/pm2301_charger.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/power/pm2301_charger.c b/drivers/power/pm2301_charger.c index eed6034..f99a0c8 100644 --- a/drivers/power/pm2301_charger.c +++ b/drivers/power/pm2301_charger.c @@ -706,10 +706,6 @@ static int pm2xxx_charging_init(struct pm2xxx_charger *pm2) ret = pm2xxx_reg_write(pm2, PM2XXX_BATT_LOW_LEV_COMP_REG, PM2XXX_VBAT_LOW_MONITORING_ENA); - /* Disable LED */ - ret = pm2xxx_reg_write(pm2, PM2XXX_LED_CTRL_REG, - PM2XXX_LED_SELECT_DIS); - return ret; }