]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit77b3e0c978dd11248b2432f26b6ee29bac52427c
treeec7dd2e6d4fb69060a32f4b8ca52cccbad50f3c9
parentbd05aea010ce6f6977bb8dfc56217bfec2d761a6
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