Files
linux/drivers
Zhang Qilong b95cafe3bc spi: tegra114: fix reference leak in tegra spi ops
[ Upstream commit a042184c7f ]

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_spi_setup and
tegra_spi_resume), so we should fix it.

Fixes: f333a331ad ("spi/tegra114: add spi driver")
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Link: https://lore.kernel.org/r/20201103141306.5607-1-zhangqilong3@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-29 13:44:54 +01:00
..
2020-11-22 09:58:15 +01:00
2020-11-10 10:23:51 +01:00
2020-11-24 13:02:52 +01:00
2019-05-14 19:19:34 +02:00
2020-11-10 10:23:53 +01:00
2018-12-21 14:11:36 +01:00
2018-11-13 11:17:02 -08:00
2018-10-03 17:01:42 -07:00
2020-02-28 15:42:33 +01:00