OSDN Git Service

usb: dwc3: don't set last bit for ISOC endpoints
authorJanusz Dziedzic <januszx.dziedzic@intel.com>
Thu, 7 Jul 2016 06:39:09 +0000 (08:39 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 11 Aug 2016 12:09:48 +0000 (15:09 +0300)
commit79d17482a4091056e128a5048e253f2ed53440cc
treeebe9df60de93d57ca5d6612befe91af7f82c96d1
parent207707d8fd48ebc977fb2b2794004a020e1ee08e
usb: dwc3: don't set last bit for ISOC endpoints

According to Synopsys Databook 2.60a, section 8.3.4,
it's stated that:

The LST bit should be set to 0 (isochronous
transfers normally continue until the
endpoint is removed entirely, at which time
an End Transfer command is used to stop the
transfer).

This patch makes sure that detail is observed and
fixes a regression with Android Audio playback
caused by recent changes to DWC3 gadget.

Signed-off-by: Janusz Dziedzic <januszx.dziedzic@linux.intel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c