aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/usb/cdns3
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2020-01-27 17:37:42 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-10 11:15:27 -0800
commitcc7eac1e4afdd151085be4d0341a155760388653 (patch)
tree54e2c6370b59183d71cd3313e5cc26c30679b33a /drivers/usb/cdns3
parentLinux 5.6-rc1 (diff)
downloadwireguard-linux-cc7eac1e4afdd151085be4d0341a155760388653.tar.xz
wireguard-linux-cc7eac1e4afdd151085be4d0341a155760388653.zip
usb: host: ehci-platform: add a quirk to avoid stuck
Since EHCI/OHCI controllers on R-Car Gen3 SoCs are possible to be getting stuck very rarely after a full/low usb device was disconnected. To detect/recover from such a situation, the controllers require a special way which poll the EHCI PORTSC register and changes the OHCI functional state. So, this patch adds a polling timer into the ehci-platform driver, and if the ehci driver detects the issue by the EHCI PORTSC register, the ehci driver removes a companion device (= the OHCI controller) to change the OHCI functional state to USB Reset once. And then, the ehci driver adds the companion device again. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Link: https://lore.kernel.org/r/1580114262-25029-1-git-send-email-yoshihiro.shimoda.uh@renesas.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3')
0 files changed, 0 insertions, 0 deletions