]> git.karo-electronics.de Git - linux-beck.git/commit
usb: dwc2: gadget: kill requests after disabling ep
authorMian Yousaf Kaukab <yousaf.kaukab@intel.com>
Fri, 9 Jan 2015 12:38:57 +0000 (13:38 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Jan 2015 21:33:58 +0000 (15:33 -0600)
commit1141ea01d5faa82f4910b4a8f896d10490860f24
tree71a4194f02d4d87877e1591a344031ce644bb6ed
parent5f2196bd7c72cbead9d47da32816dd69a06b692e
usb: dwc2: gadget: kill requests after disabling ep

kill_all_requests() can flush the fifo. Call it after disabling the
endpoint.

Tested-by: Robert Baldyga <r.baldyga@samsung.com>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/gadget.c