lkml.org 
[lkml]   [2011]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@opensource.wolfsonmicro.com>
> ---

Applied, thanks!

--
Anton Vorontsov
Email: cbouatmailru@gmail.com


\
 
 \ /
  Last update: 2011-08-19 18:35    [W:0.026 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site