Re: [PATCH v2] usb: dwc2: resume root hub when device detect with suspend state
From: Doug Anderson
Date: Mon Nov 17 2014 - 22:01:14 EST
Kever,
On Mon, Nov 17, 2014 at 5:21 PM, Kever Yang <kever.yang@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx>
> Signed-off-by: Kever Yang <kever.yang@xxxxxxxxxxxxxx>
> ---
>
> 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@xxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/