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, 31 Aug 2022 07:07:53 +0000 (09:07 +0200)
commit8bd954c56197caf5e3a804d989094bc3fe6329aa
tree2a01b9d8e2200c8581c5dc8b4ae58dfbd9b357aa
parentb7feb442ee8692532a00e36447cdac0059cfd93d
usb: host: xhci-plat: suspend and resume clocks

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>
drivers/usb/host/xhci-plat.c
drivers/usb/host/xhci.h