USB: s3c2410_udc: fix custom UDC command handling
authorViliam Mateicka <viliam.mateicka@gmail.com>
Thu, 16 Jun 2011 08:04:36 +0000 (10:04 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Jul 2011 21:51:43 +0000 (14:51 -0700)
commit5b8261385c5c3e5cf70a95c36cce71939b844a16
tree6271366e8550a2b4f57784446796ab2ded89e5b7
parentbc8687db894d537283b9e1e37806cca101185e56
USB: s3c2410_udc: fix custom UDC command handling

There is a bug in Samsung's UDC driver, which is completely disabling
the USB device when a custom UDC command is used.
Following patch seems to get the right behavior (e.g. enabling pull-up
instead of disabling then Vcc is applied).

Signed-off-by: Viliam Mateicka <viliam.mateicka@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/s3c2410_udc.c