diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2023-10-26 16:01:03 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2023-10-26 16:01:03 +0200 |
commit | 1df91d85f29f4f1bf34b74e63a5df4f5943f18c1 (patch) | |
tree | 7cef3bb5b1a9cb7c91427938b985490ebc1302a9 /drivers/pmdomain/bcm | |
parent | fad5bf2e2c900232277288460b7a91b147954aab (diff) | |
parent | 374de39d38f97b0e58cfee88da590b2d056ccf7f (diff) |
pmdomain: Merge branch fixes into next
Merge the pmdomain fixes for v6.6-rc[n] into the next branch, to allow them to
get tested together with the new pmdomain changes that are targeted for v6.7.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/pmdomain/bcm')
-rw-r--r-- | drivers/pmdomain/bcm/bcm2835-power.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pmdomain/bcm/bcm2835-power.c b/drivers/pmdomain/bcm/bcm2835-power.c index 1a179d4e011c..d2f0233cb620 100644 --- a/drivers/pmdomain/bcm/bcm2835-power.c +++ b/drivers/pmdomain/bcm/bcm2835-power.c @@ -175,7 +175,7 @@ static int bcm2835_asb_control(struct bcm2835_power *power, u32 reg, bool enable } writel(PM_PASSWORD | val, base + reg); - while (readl(base + reg) & ASB_ACK) { + while (!!(readl(base + reg) & ASB_ACK) == enable) { cpu_relax(); if (ktime_get_ns() - start >= 1000) return -ETIMEDOUT; |