]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "xHCI: reset-on-resume quirk for NEC uPD720200"
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Thu, 1 Dec 2011 18:30:16 +0000 (10:30 -0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Thu, 1 Dec 2011 18:41:40 +0000 (10:41 -0800)
commite33c2c68d9ff39f952e32bfcd5f8ab62ac961356
tree5944030800044bd7338b50b853f49de8f344d9dd
parent6490c199bb41f292ebf0afcaf1c0531068dde83f
Revert "xHCI: reset-on-resume quirk for NEC uPD720200"

This reverts commit d10defae1e3b77c6f33b3eee637ec10efab95e43.

The commit added a reset-on-resume quirk because the NEC chipset stopped
responding to commands about 30 minutes after a system resume from
suspend.  We thought it was a chipset issue, but it turns out that the
xHCI driver was zeroing out the link TRB after a successful context
restore during resume.  The host controller would fall off the command
ring sometime later, causing it to not respond to new commands.

The link TRB issue has been fixed with commit
6490c199bb41f292ebf0afcaf1c0531068dde83f "xHCI: fix bug in
xhci_clear_command_ring()", so revert the reset-on-resume quirk, as it's
not necessary.

Commit d10defae1e3b77c6f33b3eee637ec10efab95e43 was marked for stable
trees back to 2.6.37, but according to my mail, it has not made it into
Linus' tree or the stable trees yet.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Tested-by: Julian Sikorski <belegdol@gmail.com>
Cc: Andiry Xu <andiry.xu@amd.com>
drivers/usb/host/xhci-pci.c