]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tegra: Balance runtime PM count
authorSameer Pujar <spujar@nvidia.com>
Tue, 23 Nov 2021 14:07:34 +0000 (19:37 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 26 Nov 2021 13:24:00 +0000 (13:24 +0000)
commitf7fb95fd28422145c7d833158a29b92abf480404
tree38b275460e23e9d1d5e2eb0c785ea10ebc0ee336
parent07795b8e1f509e704304a4fd2e1d7d61060180ef
ASoC: tegra: Balance runtime PM count

After successful application of volume/mute settings via mixer control
put calls, the control returns without balancing the runtime PM count.
This makes device to be always runtime active. Fix this by allowing
control to reach pm_runtime_put() call.

Fixes: f9c4602f0feb ("ASoC: tegra: Add Tegra210 based MVC driver")
Cc: stable@vger.kernel.org
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Link: https://lore.kernel.org/r/1637676459-31191-2-git-send-email-spujar@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra210_mvc.c