USB: s3c: Enable soft disconnect during initialization
authorThomas Abraham <thomas.ab@samsung.com>
Mon, 24 May 2010 08:48:56 +0000 (17:48 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 4 Jun 2010 20:16:19 +0000 (13:16 -0700)
commit390b166138e95a47bdfde6582a1935f65e5c6547
tree34afb0c75ae5b2175c1b4a097ad10bea9c43bace
parent0238634d02dd10b678ebe9ea5d8803483277ee93
USB: s3c: Enable soft disconnect during initialization

Enable soft disconnect bit the OTG core during initialization. Without this,
the host sees that a gadget is connected and tries to enumerate. The
soft disconnect should be enabled until the USB gadget driver is
registered with this otg driver.

Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/s3c-hsotg.c