summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorQiushi Wu <wu000273@umn.edu>2020-06-13 23:44:19 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-03 12:29:15 +0300
commitdd80a7201ed7c62a6f4fae8806f2c5f570f5afa6 (patch)
treef6759f9cdcc99dff01cac1ca66a2f8d9e3f63753 /drivers/mfd
parentd5581a8e323cb3daef929d5d4ffa380f1f395c77 (diff)
downloadlinux-dd80a7201ed7c62a6f4fae8806f2c5f570f5afa6.tar.xz
ASoC: tegra: Fix reference count leaks.
[ Upstream commit deca195383a6085be62cb453079e03e04d618d6e ] Calling pm_runtime_get_sync increments the counter even in case of failure, causing incorrect ref count if pm_runtime_put is not called in error handling paths. Call pm_runtime_put if pm_runtime_get_sync fails. Signed-off-by: Qiushi Wu <wu000273@umn.edu> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Link: https://lore.kernel.org/r/20200613204422.24484-1-wu000273@umn.edu Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions