Re: [PATCH v4 07/14] usb: usb3 ports do not support FEAT_C_ENABLE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 6, 2014 at 1:12 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> On Fri, 31 Jan 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 suspended at this time so we need to clear any
>> errors for usb2 ports.
>
> I'm not sure what you meant in that last sentence.

Sorry, replace "suspended" with "prevented from running because the
port state is not RPM_ACTIVE".

> This is a _runtime_
> suspend routine, not system suspend.  Therefore khubd will most
> certainly be active.  We need to clear the C_ENABLE feature (for
> non-SuperSpeed hubs) so that khubd won't see it and do away with the
> attached device.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux