summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-nxp-fspi.c
diff options
context:
space:
mode:
authorClark Wang <xiaoning.wang@nxp.com>2020-07-14 15:52:47 +0800
committerMark Brown <broonie@kernel.org>2020-07-22 01:55:50 +0100
commit2abbae5a0e4e1d81016f56a403b2daadfee314c3 (patch)
tree61e0451bbbca9ec9e0f92fd3d0da483618b95d3e /drivers/spi/spi-nxp-fspi.c
parent2b2d441dcfa4bab4849fa1a792184e66ec4dfd95 (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>
Diffstat (limited to 'drivers/spi/spi-nxp-fspi.c')
0 files changed, 0 insertions, 0 deletions