diff options
author | Xu Yang <xu.yang_2@nxp.com> | 2022-10-13 17:14:35 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-23 14:34:53 +0200 |
commit | 74494b33211d067427db25824cd8b53fa0eab1ef (patch) | |
tree | 4877491bdba8a434d81ce30d05a0ab8a1d794145 /drivers/usb/chipidea/otg.c | |
parent | dt-bindings: phy: imx8mq-usb: add power-domains property (diff) | |
download | linux-74494b33211d067427db25824cd8b53fa0eab1ef.tar.xz linux-74494b33211d067427db25824cd8b53fa0eab1ef.zip |
usb: chipidea: core: add controller resume support when controller is powered off
For some SoCs, the controler's power will be off during the system
suspend, and it needs some recovery operation to let the system back
to workable. We add this support in this patch.
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Acked-by: Peter Chen <peter.chen@kernel.org>
Link: https://lore.kernel.org/r/20221013151442.3262951-2-xu.yang_2@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/otg.c')
-rw-r--r-- | drivers/usb/chipidea/otg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/otg.c b/drivers/usb/chipidea/otg.c index 7b53274ef966..622c3b68aa1e 100644 --- a/drivers/usb/chipidea/otg.c +++ b/drivers/usb/chipidea/otg.c @@ -165,7 +165,7 @@ static int hw_wait_vbus_lower_bsv(struct ci_hdrc *ci) return 0; } -static void ci_handle_id_switch(struct ci_hdrc *ci) +void ci_handle_id_switch(struct ci_hdrc *ci) { enum ci_role role = ci_otg_role(ci); |