commit | e2b714afee32d368e0fda825c48181626979a551 | [log] [tgz] |
---|---|---|
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | Wed Mar 07 17:05:04 2018 +0200 |
committer | Mark Brown <broonie@kernel.org> | Wed Mar 07 15:08:04 2018 +0000 |
tree | 078a205c7d69c7efd9b59aed3224eac4bac7125c | |
parent | 7928b2cbe55b2a410a0f5c1f154610059c57b1b2 [diff] |
spi: pxa2xx: Disable runtime PM if controller registration fails Don't leave runtime PM enabled in case devm_spi_register_controller() returns with an error. Otherwise runtime PM will complain when driver is reloaded: [ 693.855811] pxa2xx-spi pxa2xx-spi.13: Unbalanced pm_runtime_enable! Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>