summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAntonio Ospite <ao2@ao2.it>2014-05-30 18:18:09 +0200
committerMark Brown <broonie@linaro.org>2014-06-01 11:40:50 +0100
commit836d1a22db9ee0a466301465e873bc94da86cb15 (patch)
treed990c0d64f2031c19775fbc7ed1b57ec5085e454 /include
parentd6ba32d5c60f569d252ec9dcd96cd46b19785b60 (diff)
downloadop-kernel-dev-836d1a22db9ee0a466301465e873bc94da86cb15.zip
op-kernel-dev-836d1a22db9ee0a466301465e873bc94da86cb15.tar.gz
spi/pxa2xx: fix runtime PM enabling order
In commit 7dd62787334ac6e0e2a0ef3f20bb1936ac431b04 (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 in 268d76430d1b68c340687357ffd18b4b12d02269. Signed-off-by: Antonio Ospite <ao2@ao2.it> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud