[PATCH v6 part2 2/8] usb: usb3 ports do not support FEAT_C_ENABLE

2014-03-13 Thread Dan Williams
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. Signed-off-by: Dan Wil

Re: [PATCH v6 part2 2/8] usb: usb3 ports do not support FEAT_C_ENABLE

2014-03-14 Thread Alan Stern
On Thu, 13 Mar 2014, Dan Williams wrote: > 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

Re: [PATCH v6 part2 2/8] usb: usb3 ports do not support FEAT_C_ENABLE

2014-03-14 Thread Dan Williams
On Fri, 2014-03-14 at 12:12 -0400, Alan Stern wrote: > On Thu, 13 Mar 2014, Dan Williams wrote: > > > 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 b