summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci-plat.c
diff options
context:
space:
mode:
authorJustin Chen <justinpopo6@gmail.com>2022-08-11 01:27:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-31 10:07:53 +0300
commitc69400b09e471a3f1167adead55a808f0da6534a (patch)
treeeb1027f509fcbc4e2594d9a23d23e41ed5f436f0 /drivers/usb/host/xhci-plat.c
parent8bd954c56197caf5e3a804d989094bc3fe6329aa (diff)
downloadlinux-c69400b09e471a3f1167adead55a808f0da6534a.tar.xz
usb: host: xhci-plat: suspend/resume clks for brcm
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>
Diffstat (limited to 'drivers/usb/host/xhci-plat.c')
-rw-r--r--drivers/usb/host/xhci-plat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
index a68b2b017b74..62756d9b50ea 100644
--- a/drivers/usb/host/xhci-plat.c
+++ b/drivers/usb/host/xhci-plat.c
@@ -123,7 +123,7 @@ static const struct xhci_plat_priv xhci_plat_renesas_rcar_gen3 = {
};
static const struct xhci_plat_priv xhci_plat_brcm = {
- .quirks = XHCI_RESET_ON_RESUME,
+ .quirks = XHCI_RESET_ON_RESUME | XHCI_SUSPEND_RESUME_CLKS,
};
static const struct of_device_id usb_xhci_of_match[] = {