OSDN Git Service

usb: dwc3: fix for the isoc transfer EP_BUSY flag
authorKonrad Leszczynski <konrad.leszczynski@intel.com>
Mon, 8 Feb 2016 15:13:12 +0000 (16:13 +0100)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 20 Jun 2016 09:32:37 +0000 (12:32 +0300)
commit9cad39fe4e4a4fe95d8ea5a7b0692b0a6e89e38b
tree32add6d80507557753ae4bdcd9f97a44b26c0df6
parentab2a92e7a608c09f13baf1730b9ba24c73c35d52
usb: dwc3: fix for the isoc transfer EP_BUSY flag

commit f3af36511e60 ("usb: dwc3: gadget: always
enable IOC on bulk/interrupt transfers") ended up
regressing Isochronous endpoints by clearing
DWC3_EP_BUSY flag too early, which resulted in
choppy audio playback over USB.

Fix that by partially reverting original commit and
making sure that we check for isochronous endpoints.

Fixes: f3af36511e60 ("usb: dwc3: gadget: always enable IOC
on bulk/interrupt transfers")
Cc: <stable@vger.kernel.org>
Signed-off-by: Konrad Leszczynski <konrad.leszczynski@intel.com>
Signed-off-by: Rafal Redzimski <rafal.f.redzimski@intel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c