xHCI: Clear PLC for USB2 root hub ports
authorAndiry Xu <andiry.xu@amd.com>
Fri, 23 Sep 2011 21:19:50 +0000 (14:19 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Sep 2011 22:51:09 +0000 (15:51 -0700)
commit6fd4562178508a0949c9fdecd8558d8b10d671bd
treeb6fbf5ca061ddaf8f87dff84e4eee74f1fc899ee
parentd2f52c9e585bbb1a3c164e02b8dcd0d996c67353
xHCI: Clear PLC for USB2 root hub ports

When the link state changes, xHC will report a port status change event
and set the PORT_PLC bit, for both USB3 and USB2 root hub ports.

The PLC will be cleared by usbcore for USB3 root hub ports, but not for
USB2 ports, because they do not report USB_PORT_STAT_C_LINK_STATE in
wPortChange.

Clear it for USB2 root hub ports in handle_port_status().

Signed-off-by: Andiry Xu <andiry.xu@amd.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/xhci-ring.c
This page took 0.0264219999999999 seconds and 5 git commands to generate.