From: Robert Jarzmik Date: Sun, 25 Jan 2009 07:56:42 +0000 (-0800) Subject: USB: pxa27x_udc: add vbus session handling X-Git-Tag: v2.6.30-rc1~670^2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b799a7eb68082af620b7e37b6f41c98802e831f6;p=pandora-kernel.git USB: pxa27x_udc: add vbus session handling On vbus_session() call, optionally activate D+ pullup resistor and enable the udc, or deactivate D+ pullup resistor and disable the udc. It is intentional to not handle any VBus sense related irq. An external transceiver driver (like gpio_vbus) should catch VBus sense signal, and call usb_gadget_vbus_connect() or usb_gadget_vbus_disconnect(). Signed-off-by: Robert Jarzmik Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed