[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110819163240.GD22761@oksana.dev.rtsoft.ru>
Date: Fri, 19 Aug 2011 20:32:40 +0400
From: Anton Vorontsov <cbouatmailru@...il.com>
To: Mark Brown <broonie@...nsource.wolfsonmicro.com>
Cc: David Woodhouse <dwmw2@...radead.org>,
patches@...nsource.wolfsonmicro.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] power_supply: Only register WM831x battery charger if
enabled
On Tue, Aug 16, 2011 at 08:37:42AM +0900, Mark Brown wrote:
> Don't tell the system about the battery charger if it's not enabled, we
> can reasonably assume that if the charger is not enabled then no battery
> will ever be connected so reporting state is at best going to waste time
> and at worst going to cause confusing information in the UI.
>
> For simplicity and robustness we continue to register and handle interrupts
> from the charger.
>
> Signed-off-by: Mark Brown <broonie@...nsource.wolfsonmicro.com>
> ---
Applied, thanks!
--
Anton Vorontsov
Email: cbouatmailru@...il.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists