summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci-hub.c
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2015-11-18 10:48:21 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-11-18 09:24:41 -0800
commit42df7215facf27be8d53e657dd4a12d4ebad0a44 (patch)
treeef2c80195877d04cd4438fadea2201c3b6d4b2ec /drivers/usb/host/xhci-hub.c
parenta5964396190d0c40dd549c23848c282fffa5d1f2 (diff)
usb: xhci: fix checking ep busy for CFC
Function ep_ring_is_processing() checks the dequeue pointer in endpoint context to know whether an endpoint is busy with processing TRBs. This is not correct since dequeue pointer field in an endpoint context is only valid when the endpoint is in Halted or Stopped states. This buggy code causes audio noise when playing sound with USB headset connected to host controllers which support CFC (one of xhci 1.1 features). This patch should exist in stable kernel since v4.3. Reported-and-tested-by: YD Tseng <yd_tseng@asmedia.com.tw> Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Cc: stable <stable@vger.kernel.org> # v4.3 Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-hub.c')
0 files changed, 0 insertions, 0 deletions