aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorEugen Hristev <[email protected]>2023-12-25 13:36:15 +0000
committerUlf Hansson <[email protected]>2024-01-23 12:19:15 +0000
commitc41336f4d69057cbf88fed47951379b384540df5 (patch)
tree41299a8b2bb1340c2e342b5917ac1f7a790f2153 /scripts/generate_rust_target.rs
parentpmdomain: renesas: r8a77980-sysc: CR7 must be always on (diff)
downloadkernel-c41336f4d69057cbf88fed47951379b384540df5.tar.gz
kernel-c41336f4d69057cbf88fed47951379b384540df5.zip
pmdomain: mediatek: fix race conditions with genpd
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: 59b644b01cf4 ("soc: mediatek: Add MediaTek SCPSYS power domains") Signed-off-by: Eugen Hristev <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions