Re: [PATCH 1/2 v2] power: bq20z75: support external notification

From: Anton Vorontsov
Date: Tue May 24 2011 - 15:19:09 EST


On Tue, May 24, 2011 at 12:05:59PM -0700, Rhyland Klein wrote:
> Adding support for external power change notification. One problem found
> is that there is a lag time before the sensor will return a new status. To
> ensure that we only fire off the power_supply_changed event when the status
> returned from the sensor is actually different, we delay sending the
> the notification, and instead poll on it looking for a change. The amount
> of time to poll is configurable via platform data.
>
> Signed-off-by: Rhyland Klein <rklein@xxxxxxxxxx>
> ---
> v2: removed the line enabling detection as it was not meant to be
> part of this patch.

1/2 and 2/2 applied, thanks!

--
Anton Vorontsov
Email: cbouatmailru@xxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/