]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
usb: musb: Fix suspend with devices connected for a64
authorTony Lindgren <tony@atomide.com>
Wed, 24 Mar 2021 07:11:41 +0000 (09:11 +0200)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 8 Apr 2021 20:42:52 +0000 (15:42 -0500)
commitfae5ee5342eeac752b81dcdc653722ac55d97396
tree2ab05219d0166b28d36d243882b9fb02332dfca9
parent13af3340e2189f7d7e4c8fe5709e8f567cb48f04
usb: musb: Fix suspend with devices connected for a64

BugLink: https://bugs.launchpad.net/bugs/1923069
commit 92af4fc6ec331228aca322ca37c8aea7b150a151 upstream.

Pinephone running on Allwinner A64 fails to suspend with USB devices
connected as reported by Bhushan Shah <bshah@kde.org>. Reverting
commit 5fbf7a253470 ("usb: musb: fix idling for suspend after
disconnect interrupt") fixes the issue.

Let's add suspend checks also for suspend after disconnect interrupt
quirk handling like we already do elsewhere.

Fixes: 5fbf7a253470 ("usb: musb: fix idling for suspend after disconnect interrupt")
Reported-by: Bhushan Shah <bshah@kde.org>
Tested-by: Bhushan Shah <bshah@kde.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20210324071142.42264-1-tony@atomide.com
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
drivers/usb/musb/musb_core.c