Skip to content

Commit 90b85bc

Browse files
lategoodbyeintel-lab-lkp
authored andcommitted
pmdomain: raspberrypi-power: Avoid powering down USB
During supend to idle any request to power off the USB domain leads to a timeout. As a temporary workaround don't register the relevant power off handler. Link: raspberrypi/firmware#1894 Signed-off-by: Stefan Wahren <[email protected]>
1 parent 6b6b60b commit 90b85bc

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

drivers/pmdomain/bcm/raspberrypi-power.c

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,14 @@ static void rpi_common_init_power_domain(struct rpi_power_domains *rpi_domains,
8686

8787
dom->base.name = name;
8888
dom->base.power_on = rpi_domain_on;
89-
dom->base.power_off = rpi_domain_off;
89+
90+
/*
91+
* During supend to idle any request to power off the USB domain
92+
* leads to a timeout. As a temporary workaround don't register
93+
* the relevant power off handler.
94+
*/
95+
if (strcmp("USB", name))
96+
dom->base.power_off = rpi_domain_off;
9097

9198
/*
9299
* Treat all power domains as off at boot.

0 commit comments

Comments
 (0)