Zhang Qilong 763eab7074
spi: tegra20-slink: fix reference leak in slink ops of tegra20
pm_runtime_get_sync will increment pm usage counter even it
failed. Forgetting to pm_runtime_put_noidle will result in
reference leak in two callers(tegra_slink_setup and
tegra_slink_resume), so we should fix it.

Fixes: dc4dc36056392 ("spi: tegra: add spi driver for SLINK controller")
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Link: https://lore.kernel.org/r/20201103141345.6188-1-zhangqilong3@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-11-09 19:44:27 +00:00
..
2020-10-24 10:33:08 -07:00
2020-10-24 10:33:08 -07:00
2020-06-24 16:37:47 +01:00
2020-10-08 23:00:06 +01:00
2020-10-08 23:00:06 +01:00
2020-07-17 16:38:47 +01:00
2020-03-17 13:20:16 +00:00
2020-07-14 17:38:46 +01:00
2020-06-16 00:38:38 +01:00
2020-10-24 10:33:08 -07:00