usb: host: xhci-plat: suspend and resume clocks
authorJustin Chen <justinpopo6@gmail.com>
Wed, 10 Aug 2022 22:27:34 +0000 (15:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Oct 2022 10:35:46 +0000 (12:35 +0200)
commitf002aa7c0ac5518a152ec24503c9f887031984a0
treedd65f97ec29e36d5435c236659484af7b0e2cc50
parent6bcd745c87a04c6a89f491ade86eebc9144561d1
usb: host: xhci-plat: suspend and resume clocks

[ Upstream commit 8bd954c56197caf5e3a804d989094bc3fe6329aa ]

Introduce XHCI_SUSPEND_RESUME_CLKS quirk as a means to suspend and resume
clocks if the hardware is capable of doing so. We assume that clocks will
be needed if the device may wake.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Justin Chen <justinpopo6@gmail.com>
Link: https://lore.kernel.org/r/1660170455-15781-2-git-send-email-justinpopo6@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/usb/host/xhci-plat.c
drivers/usb/host/xhci.h