usb: otg: gpio_vbus: Add otg transceiver events and notifiers
authorHeiko Stübner <heiko@sntech.de>
Wed, 29 Feb 2012 22:03:11 +0000 (23:03 +0100)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 30 Apr 2012 12:37:29 +0000 (17:37 +0530)
commita8f9bddea29ce3a9f09399c6ef0c220854372ead
treec1339b08451bc1032162d0279cedb10c1587c5c1
parent05d77b5da6dd0a8918c5dcb9c44366fd58bffbd4
usb: otg: gpio_vbus: Add otg transceiver events and notifiers

Commit 9ad63986c606 (pda_power: Add support for using otg transceiver events)
converted the pda-power driver to use otg events to determine the status
of the power supply.

As gpio-vbus didn't use otg events until now, this change breaks setups
of pda-power with a gpio-vbus transceiver.

This patch adds the necessary otg events and notifiers to gpio-vbus.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Dima Zavin <dima@android.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/otg/gpio_vbus.c