mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
c41336f4d6
If the power domains are registered first with genpd and *after that*
the driver attempts to power them on in the probe sequence, then it is
possible that a race condition occurs if genpd tries to power them on
in the same time.
The same is valid for powering them off before unregistering them
from genpd.
Attempt to fix race conditions by first removing the domains from genpd
and *after that* powering down domains.
Also first power up the domains and *after that* register them
to genpd.
Fixes:
|
||
---|---|---|
.. | ||
actions | ||
amlogic | ||
apple | ||
arm | ||
bcm | ||
imx | ||
mediatek | ||
qcom | ||
renesas | ||
rockchip | ||
samsung | ||
st | ||
starfive | ||
sunxi | ||
tegra | ||
ti | ||
xilinx | ||
core.c | ||
governor.c | ||
Kconfig | ||
Makefile |