]> git.baikalelectronics.ru Git - 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Mar 2021 13:50:59 +0000 (14:50 +0100)
commitffe5acdc97ac8854b22937feb8d7bd79c6cf05c6
treededf2f89f915d71712ec71c2503dd6a995445d25
parentffed910fce47f954d4e7022cdcdb9da007ca84ac
usb: musb: Fix suspend with devices connected for a64

Pinephone running on Allwinner A64 fails to suspend with USB devices
connected as reported by Bhushan Shah <bshah@kde.org>. Reverting
commit b5199aaa03c4 ("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: b5199aaa03c4 ("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>
drivers/usb/musb/musb_core.c