summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/marvell
diff options
context:
space:
mode:
authorZhang Qilong <zhangqilong3@huawei.com>2020-11-03 17:13:06 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-29 15:46:52 +0300
commit8b564332bd89af8c75fd099c3dacd1e083880379 (patch)
treebadb73416ca3d969e131e7685719c7a7071e8548 /drivers/net/wireless/marvell
parent70a7d4e41de6433535040034064703e68ef8bfbb (diff)
downloadlinux-8b564332bd89af8c75fd099c3dacd1e083880379.tar.xz
spi: tegra114: fix reference leak in tegra spi ops
[ Upstream commit a042184c7fb99961ea083d4ec192614bec671969 ] 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: f333a331adfac ("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>
Diffstat (limited to 'drivers/net/wireless/marvell')
0 files changed, 0 insertions, 0 deletions