Skip to content

Commit 1df91d8

Browse files
author
Ulf Hansson
committed
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>
2 parents fad5bf2 + 374de39 commit 1df91d8

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/pmdomain/bcm/bcm2835-power.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ static int bcm2835_asb_control(struct bcm2835_power *power, u32 reg, bool enable
175175
}
176176
writel(PM_PASSWORD | val, base + reg);
177177

178-
while (readl(base + reg) & ASB_ACK) {
178+
while (!!(readl(base + reg) & ASB_ACK) == enable) {
179179
cpu_relax();
180180
if (ktime_get_ns() - start >= 1000)
181181
return -ETIMEDOUT;

drivers/pmdomain/imx/gpc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,7 @@ static int imx_gpc_probe(struct platform_device *pdev)
497497

498498
pd_pdev->dev.parent = &pdev->dev;
499499
pd_pdev->dev.of_node = np;
500+
pd_pdev->dev.fwnode = of_fwnode_handle(np);
500501

501502
ret = platform_device_add(pd_pdev);
502503
if (ret) {

0 commit comments

Comments
 (0)