Home
last modified time | relevance | path

Searched hist:deca1953 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/sound/soc/tegra/
H A Dtegra30_ahub.cdeca1953 Sat Jun 13 15:44:19 CDT 2020 Qiushi Wu <wu000273@umn.edu> ASoC: tegra: Fix reference count leaks.

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>
H A Dtegra30_i2s.cdeca1953 Sat Jun 13 15:44:19 CDT 2020 Qiushi Wu <wu000273@umn.edu> ASoC: tegra: Fix reference count leaks.

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>