]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: dwc3: fix bogus test in dwc3_gadget_start_isoc
authorPaul Zimmerman <Paul.Zimmerman@synopsys.com>
Fri, 17 Feb 2012 22:10:16 +0000 (14:10 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Apr 2012 17:31:33 +0000 (10:31 -0700)
commit6b6cf9641fea221749940b7ebffb99bae646e544
treef198ffdc47c760f751d51bf10eeee6d34e8fcdef
parent80ce60a3505bbe720b866d0018c06f6e7d6b33b9
usb: dwc3: fix bogus test in dwc3_gadget_start_isoc

commit 9bafa56c7cee5c6fa68de5924220abb220c7e229 upstream.

Zero is a valid value for a microframe number. So remove the bogus
test for non-zero in dwc3_gadget_start_isoc().

Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/gadget.c