Re: [PATCH v5 11/16] usb: introduce port status lock

2014-02-24 Thread Dan Williams
On Fri, 2014-02-21 at 16:10 -0800, Dan Williams wrote: > In general we do not want khubd to act on port status changes that are > the result of in progress resets or USB runtime PM operations. > Specifically port power control testing has been able to trigger an > unintended disconnect in hub_port_

[PATCH v5 11/16] usb: introduce port status lock

2014-02-21 Thread Dan Williams
In general we do not want khubd to act on port status changes that are the result of in progress resets or USB runtime PM operations. Specifically port power control testing has been able to trigger an unintended disconnect in hub_port_connect_change(), paraphrasing: if ((portstatus & USB_