- 20 4月, 2011 1 次提交
-
-
由 Benson Leung 提交于
Gpio charger should notify if the gpio state had changed during suspend. This will send a CHANGED event each time the system resumes, ensuring a plug/unplug of the charger is not missed. Signed-off-by: NBenson Leung <bleung@chromium.org> Acked-By: NLars-Peter Clausen <lars@metafoo.de> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-
- 22 12月, 2010 3 次提交
-
-
由 Lars-Peter Clausen 提交于
This patch fixes a potential race between the irq handler and the probe and remove functions. The irq should not be requested before the chargers power_supply has been registered and has to be freed before the power_supply is unregistered, otherwise it is possible that the irq fires while the power_supply is not initialized yet or has already been freed. While we are at it replace request_irq with request_any_context_irq. Signed-off-by: NLars-Peter Clausen <lars@metafoo.de> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-
由 Lars-Peter Clausen 提交于
This patch sets a default name for the power_supply in case there was no name supplied through the platform_data. Signed-off-by: NLars-Peter Clausen <lars@metafoo.de> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-
由 Lars-Peter Clausen 提交于
Since kzalloc can return NULL we have to check its result. Signed-off-by: NLars-Peter Clausen <lars@metafoo.de> Signed-off-by: NVasiliy Kulikov <segoon@openwall.com> Signed-off-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-
- 18 11月, 2010 1 次提交
-
-
由 Lars-Peter Clausen 提交于
This patch adds a simple driver for chargers indicating their online status through a GPIO pin. Signed-off-by: NLars-Peter Clausen <lars@metafoo.de> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
-