]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc2/gadget: avoid disabling ep0
authorRobert Baldyga <r.baldyga@samsung.com>
Tue, 9 Sep 2014 08:44:13 +0000 (10:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Sep 2014 17:17:48 +0000 (10:17 -0700)
commit4d9dd012927c1caf60fef5dde256faa89828d6bb
tree87f832bfd7f2da3981fd7be4b67cd7418177d27b
parent7e100e0e0ec70a871852c1e859085fbda30f909f
usb: dwc2/gadget: avoid disabling ep0

Endpoint 0 should not be disabled, so we start loop counter from number 1.

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Cc: stable <stable@vger.kernel.org> # 3.16
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc2/gadget.c