summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-tegra114.c
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2020-05-23 16:38:59 +0300
committerMark Brown <broonie@kernel.org>2020-05-26 19:44:55 +0300
commit8d728808194a12186ce5af0b72c8a47b42476bc3 (patch)
treeedf4476fe48c9fcfcc7f2eed0c6e5294823f6b28 /drivers/spi/spi-tegra114.c
parentc373643b8688836c1627a805875994fe0012fc17 (diff)
downloadlinux-8d728808194a12186ce5af0b72c8a47b42476bc3.tar.xz
spi: spi-fsl-lpspi: Fix runtime PM imbalance on error
pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Link: https://lore.kernel.org/r/20200523133859.5625-1-dinghao.liu@zju.edu.cn Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-tegra114.c')
0 files changed, 0 insertions, 0 deletions