mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08: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 |