commit | 2abbae5a0e4e1d81016f56a403b2daadfee314c3 | [log] [tgz] |
---|---|---|
author | Clark Wang <xiaoning.wang@nxp.com> | Tue Jul 14 15:52:47 2020 +0800 |
committer | Mark Brown <broonie@kernel.org> | Wed Jul 22 01:55:50 2020 +0100 |
tree | 61e0451bbbca9ec9e0f92fd3d0da483618b95d3e | |
parent | 2b2d441dcfa4bab4849fa1a792184e66ec4dfd95 [diff] |
spi: lpspi: fix the imbalance of runtime pm function call Call the put function after probe successfully. Otherwise, the lpspi module will keep active status until the first spi transfer called. Disable runtime pm when probe fails. There is no need to active runtime pm after probe failed. Signed-off-by: Clark Wang <xiaoning.wang@nxp.com> Link: https://lore.kernel.org/r/20200714075251.12777-2-xiaoning.wang@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>