diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2018-03-07 16:05:04 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-03-07 16:08:04 +0100 |
commit | e2b714afee32d368e0fda825c48181626979a551 (patch) | |
tree | 078a205c7d69c7efd9b59aed3224eac4bac7125c /Kconfig | |
parent | Linux 4.16-rc1 (diff) | |
download | linux-e2b714afee32d368e0fda825c48181626979a551.tar.xz linux-e2b714afee32d368e0fda825c48181626979a551.zip |
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>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions