usb: host: xhci-plat: suspend/resume clks for brcm
authorJustin Chen <justinpopo6@gmail.com>
Wed, 10 Aug 2022 22:27:35 +0000 (15:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Oct 2022 10:35:46 +0000 (12:35 +0200)
commit518a2a1cc3612d115ebd81da02e470dcac90a34f
tree5402ea59f8aa346354787e57dc386e69e82aa142
parentf002aa7c0ac5518a152ec24503c9f887031984a0
usb: host: xhci-plat: suspend/resume clks for brcm

[ Upstream commit c69400b09e471a3f1167adead55a808f0da6534a ]

The xhci_plat_brcm xhci block can enter suspend with clock disabled to save
power and re-enable them on resume. Make use of the XHCI_SUSPEND_RESUME_CLKS
quirk to do so.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Justin Chen <justinpopo6@gmail.com>
Link: https://lore.kernel.org/r/1660170455-15781-3-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