]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
phy: cpcap-usb: Fix flakey host idling and enumerating of devices
authorTony Lindgren <tony@atomide.com>
Sun, 22 Dec 2019 18:00:19 +0000 (10:00 -0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 06:00:53 +0000 (01:00 -0500)
commitd1014c1a6e378d7c81fd1c32d0db4fe91af378a7
tree9524729f889a3dc83d739185ac9fdfbab7581928
parent507b1c0e24a8479245c22858e1665239a3786cc0
phy: cpcap-usb: Fix flakey host idling and enumerating of devices

BugLink: https://bugs.launchpad.net/bugs/1862227
commit 049226b9fd7442149dcbcf55f15408f5973cceda upstream.

We must let the USB host idle things properly before we switch to debug
UART mode. Otherwise the USB host may never idle after disconnecting
devices, and that causes the next enumeration to be flakey.

Cc: Jacopo Mondi <jacopo@jmondi.org>
Cc: Marcel Partap <mpartap@gmx.net>
Cc: Merlijn Wajer <merlijn@wizzup.org>
Cc: Michael Scott <hashcode0f@gmail.com>
Cc: NeKit <nekit1000@gmail.com>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Sebastian Reichel <sre@kernel.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Fixes: 6d6ce40f63af ("phy: cpcap-usb: Add CPCAP PMIC USB support")
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/phy/motorola/phy-cpcap-usb.c