mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
spi/pxa2xx: fix runtime PM enabling order
In commit7dd6278733(spi/pxa2xx: Convert to core runtime PM) master->auto_runtime_pm was set to true. In this case pm_runtime_enable() must be called *before* spi_register_master(), otherwise the kernel hangs with this error message: spi_master spi0: Failed to power device: -13 A similar fix, but for spi/hspi, was applied in268d76430d. Signed-off-by: Antonio Ospite <ao2@ao2.it> Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
parent
d6ba32d5c6
commit
836d1a22db
1 changed files with 5 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue