]> git.baikalelectronics.ru Git - kernel.git/commit
usb: usb3 ports do not support FEAT_C_ENABLE
authorDan Williams <dan.j.williams@intel.com>
Wed, 21 May 2014 01:09:10 +0000 (18:09 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 23:51:50 +0000 (16:51 -0700)
commit4e4de9646e461f7716aa53114ba4b2864f681cfa
tree8b043aabf99f1aac87cd8a8b7dec3295f5ca7c1f
parent772d011a49d6b46d4217864941b7518830cf4933
usb: usb3 ports do not support FEAT_C_ENABLE

The port pm_runtime implementation unconditionally clears FEAT_C_ENABLE
after clearing PORT_POWER, but the bit is reserved on usb3 hub ports.
We expect khubd to be prevented from running because the port state is
not RPM_ACTIVE, so we need to clear any errors for usb2 ports.

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/port.c