Skip to content
Commit 9ad63986 authored by Dima Zavin's avatar Dima Zavin Committed by Anton Vorontsov
Browse files

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: default avatarDima Zavin <dima@android.com>
Signed-off-by: default avatarAnton Vorontsov <cbouatmailru@gmail.com>
parent 0bea4b86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment