OSDN Git Service

usb: host: ehci-platform: fix usb 1.1 device is not connected in system resume
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tue, 21 Feb 2017 10:59:48 +0000 (19:59 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2017 04:24:49 +0000 (13:24 +0900)
commitd4d75128b8fd727d42c775a16b41634d09409dba
treef6e647d082d0e6177c771f644d488352aa7eafd7
parent5095cb89c62acc78b4cfaeb9a4072979d010510a
usb: host: ehci-platform: fix usb 1.1 device is not connected in system resume

This patch fixes an issue that a usb 1.1 device is not connected in
system resume and then the following message appeared if debug messages
are enabled:
usb 2-1: Waited 2000ms for CONNECT

To resolve this issue, the EHCI controller must be resumed after its
companion controllers. So, this patch adds such code on the driver.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-platform.c