Commit 6887237cd7da904184dab2750504040c68f3a080

Authored by Michel JAOUEN
Committed by Mark Brown
1 parent 1f68237865

spi/pl022: fix spi-pl022 pm enable at probe

amba drivers does not need to enable pm runtime at probe.
amba_probe already enables pm runtime.

This rids this warning in the ux500 boot log:
ssp-pl022 ssp0: Unbalanced pm_runtime_enable!

Signed-off-by: Michel JAOUEN <michel.jaouen@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

drivers/spi/spi-pl022.c
... ... @@ -2053,7 +2053,6 @@
2053 2053 printk(KERN_INFO "pl022: mapped registers from 0x%08x to %p\n",
2054 2054 adev->res.start, pl022->virtbase);
2055 2055  
2056   - pm_runtime_enable(dev);
2057 2056 pm_runtime_resume(dev);
2058 2057  
2059 2058 pl022->clk = clk_get(&adev->dev, NULL);