From: Rhyland Klein Date: Tue, 24 May 2011 19:05:59 +0000 (-0700) Subject: bq20z75: Add support for external notification X-Git-Tag: v3.1-rc1~106^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58ddafae2d7102d8f493840cb7aca0b4b2326b2a;p=pandora-kernel.git bq20z75: Add support for external notification 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 Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed