USB: gpio_vbus: wakeup support on GPIO VBUS interrupts
authorShinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
Thu, 17 May 2012 11:11:06 +0000 (20:11 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 May 2012 18:20:34 +0000 (11:20 -0700)
commit7cbb062ade87b987a24aa834bbde32ad8374a4cf
treeec7dd2e6d4fb69060a32f4b8ca52cccbad50f3c9
parentec1ac6e1690adf4087afdc706770cb6fb732157b
USB: gpio_vbus: wakeup support on GPIO VBUS interrupts

We'd like to see the system waking up from the system-wide suspend
when it gets plugged-in, or the USB cable is pulled out.

Also makes it configurable via platform data 'wakeup'.

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/otg/gpio_vbus.c
include/linux/usb/gpio_vbus.h