]> git.karo-electronics.de Git - karo-tx-linux.git/commit
isp1704_charger: Fix driver to work with changes introduced in v3.5
authorPali Rohár <pali.rohar@gmail.com>
Sun, 8 Sep 2013 08:50:37 +0000 (10:50 +0200)
committerAnton Vorontsov <anton@enomsg.org>
Tue, 22 Oct 2013 20:57:16 +0000 (13:57 -0700)
commitf07c11ea32eebf81b7c1e59da2d119bf023882f2
tree4815c7aeb693fa134904f3d2536ec26e2e1d2b05
parent61e6cfa80de5760bbe406f4e815b7739205754d2
isp1704_charger: Fix driver to work with changes introduced in v3.5

* omap musb driver does not report USB_EVENT_ENUMERATED event anymore
* omap musb driver reporting USB_EVENT_VBUS when charger is connected
* read last event from phy->last_event (instead from ulpi register)
* do not call wall charger detection more times

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/isp1704_charger.c