]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
usb: xhci: add quirk flag for broken PED bits
authorFelipe Balbi <balbi@ti.com>
Tue, 4 Apr 2017 19:32:24 +0000 (19:32 +0000)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 21 Apr 2017 08:12:35 +0000 (10:12 +0200)
commit26b5ba2a2c86d5e42e0aca9450c177246046f030
tree60c15de6ee2f071c955bc1b309db587d2475f0fe
parent531e9eb6ebd2f71b8a497771f58511f8825da027
usb: xhci: add quirk flag for broken PED bits

BugLink: http://bugs.launchpad.net/bugs/1682130
[ Upstream commit 41135de1e7fd14c6fcb9158404ba5c8fb97bf259 ]

Some devices from Texas Instruments [1] suffer from
a silicon bug where Port Enabled/Disabled bit
should not be used to silence an erroneous device.

The bug is so that if port is disabled with PED
bit, an IRQ for device removal (or attachment)
will never fire.

Just for the sake of completeness, the actual
problem lies with SNPS USB IP and this affects
all known versions up to 3.00a. A separate
patch will be added to dwc3 to enabled this
quirk flag if version is <= 3.00a.

[1] - AM572x Silicon Errata http://www.ti.com/lit/er/sprz429j/sprz429j.pdf
Section i896— USB xHCI Port Disable Feature Does Not Work

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/usb/host/xhci-hub.c
drivers/usb/host/xhci.h