[PATCH v2] usb: dwc2: resume root hub when device detect with suspend state
Doug Anderson
dianders at chromium.org
Mon Nov 17 19:01:07 PST 2014
Kever,
On Mon, Nov 17, 2014 at 5:21 PM, Kever Yang <kever.yang at rock-chips.com> wrote:
> After we implement the bus_suspend/resume, auto suspend id enabled.
> The root hub will be auto suspend if there is no device connected,
> we need to resume the root hub when a device connect detect.
>
> This patch tested on rk3288.
>
> Signed-off-by: Roy Li <roy.li at rock-chips.com>
> Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
> ---
>
> Changes in v2:
> - add definition for hcd structure
> - remove check for bus->root_hub
>
> drivers/usb/dwc2/hcd_intr.c | 5 +++++
> 1 file changed, 5 insertions(+)
I can confirm that in my tests this fixes the problems introduced by
your v3 patch at <https://patchwork.kernel.org/patch/5266281/>. On
rk3288-pinky:
Tested-by: Doug Anderson <dianders at chromium.org>
More information about the Linux-rockchip
mailing list