]> git.karo-electronics.de Git - linux-beck.git/commit
usb: dwc2: gadget: don't block after fifo flush timeout
authorGregory Herrero <gregory.herrero@intel.com>
Fri, 9 Jan 2015 12:39:01 +0000 (13:39 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Jan 2015 21:34:18 +0000 (15:34 -0600)
commit48b20bcb3b2e9b15be1ebb9b574b003cffb033d5
treee5474f140d5357cbf9b02ea7315716de1a72270e
parent1a0ed863eef7ea6af63afd60ca4fa16edf6b4244
usb: dwc2: gadget: don't block after fifo flush timeout

Can't stay in the loop forever. Break it after timeout.

Tested-by: Robert Baldyga <r.baldyga@samsung.com>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Gregory Herrero <gregory.herrero@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/gadget.c