[PATCH 2/2] USB: ehci-platform: Support ehci reset after resume quirk

2014-12-24 Thread Wu Liang feng
The Rockchip rk3288 EHCI controller doesn't properly detect the case when a device is removed during suspend. Specifically, when usb resume from suspend, the EHCI controller maintaining the USB state (FLAG_CF is 1, Current Connect Status is 1), but a USB device (like a USB camera on rk3288) may hav

Re: [PATCH 2/2] USB: ehci-platform: Support ehci reset after resume quirk

2014-12-22 Thread Doug Anderson
Hi, On Mon, Dec 22, 2014 at 1:04 PM, Alan Stern wrote: > On Mon, 22 Dec 2014, Doug Anderson wrote: > >> Alan, >> >> On Mon, Dec 22, 2014 at 8:06 AM, Alan Stern >> wrote: >> > On Mon, 22 Dec 2014, Wu Liang feng wrote: >> > >> >> The EHCI controller doesn't properly detect the case when >> > >> >

Re: [PATCH 2/2] USB: ehci-platform: Support ehci reset after resume quirk

2014-12-22 Thread Alan Stern
On Mon, 22 Dec 2014, Doug Anderson wrote: > Alan, > > On Mon, Dec 22, 2014 at 8:06 AM, Alan Stern wrote: > > On Mon, 22 Dec 2014, Wu Liang feng wrote: > > > >> The EHCI controller doesn't properly detect the case when > > > > "The" EHCI controller? I don't know what EHCI controller you're > > t

Re: [PATCH 2/2] USB: ehci-platform: Support ehci reset after resume quirk

2014-12-22 Thread Julius Werner
>> The EHCI controller doesn't properly detect the case when > > "The" EHCI controller? I don't know what EHCI controller you're > talking about, but my controllers don't have any trouble detecting > device removal during suspend. This is similar to other SoC-based controllers that loose state in

Re: [PATCH 2/2] USB: ehci-platform: Support ehci reset after resume quirk

2014-12-22 Thread Doug Anderson
Alan, On Mon, Dec 22, 2014 at 8:06 AM, Alan Stern wrote: > On Mon, 22 Dec 2014, Wu Liang feng wrote: > >> The EHCI controller doesn't properly detect the case when > > "The" EHCI controller? I don't know what EHCI controller you're > talking about, but my controllers don't have any trouble detec

Re: [PATCH 2/2] USB: ehci-platform: Support ehci reset after resume quirk

2014-12-22 Thread Alan Stern
On Mon, 22 Dec 2014, Wu Liang feng wrote: > The EHCI controller doesn't properly detect the case when "The" EHCI controller? I don't know what EHCI controller you're talking about, but my controllers don't have any trouble detecting device removal during suspend. > a device is removed during

[PATCH 2/2] USB: ehci-platform: Support ehci reset after resume quirk

2014-12-22 Thread Wu Liang feng
The EHCI controller doesn't properly detect the case when a device is removed during suspend. Specifically,when we resume from suspend the EHCI controller maintaining the USB state (FLAG_CF is 1 Current Connect Status is 1) but a USB device (like a USB camera on rk3288) may have been disconnected a