USB: gpio_vbus: add delayed vbus_session calls
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sun, 25 Jan 2009 07:54:31 +0000 (23:54 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Mar 2009 23:20:26 +0000 (16:20 -0700)
commitc2344f13b59e007d782a3e591ebc551bc583a8b7
tree17eda364b35d5c064c47e45b50487912844a0fa3
parentdd44be6b17ac52238aa6c7f46b906d9fb76e7052
USB: gpio_vbus: add delayed vbus_session calls

Call usb_gadget_vbus_connect() and ...disconnect() from a
workqueue rather than from an irq handler, allowing msleep()
calls in vbus_session.  Update kerneldoc to match.

[ dbrownell@users.sourceforge.net: more kerneldoc updates ]

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/otg/gpio_vbus.c
include/linux/usb/gadget.h
include/linux/usb/otg.h