]> git.karo-electronics.de Git - linux-beck.git/commit
pda_power: Add support for using otg transceiver events
authorDima Zavin <dima@android.com>
Sun, 10 Jul 2011 23:01:15 +0000 (16:01 -0700)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 19 Aug 2011 17:03:22 +0000 (21:03 +0400)
commit9ad63986c606c60e2e916b1b96f22991f966d9cc
tree336bf435cea5ec4143134f98f0712d7a5bcc6b8c
parent0bea4b866448af09051e357b139f598aa70b8614
pda_power: Add support for using otg transceiver events

If the platform data sets the use_otg_notifier flag,
the driver will now register an otg notifier callback and listen
to transceiver events for AC/USB plug-in events instead. This would
normally be used by not specifying is_xx_online callbacks and
not specifying any irqs so the state machine is completely driven
from OTG xceiver events.

Signed-off-by: Dima Zavin <dima@android.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/pda_power.c
include/linux/pda_power.h