]> 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 16:52:29 +0000 (09:52 -0700)
commit8b2c433eb4ca5df49724fc77cef209ab2a3b54d1
tree08b88a268d333f98e84e0f2fadb60ca9fd99c647
parent6fc05c7f2cfbc2ec7e5c82b65b64c27ec2a764b0
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