]> 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)
commit70408f755f589f67957b9ec6852e6b01f858d0a2
tree38b275460e23e9d1d5e2eb0c785ea10ebc0ee336
parent12dc48f545fd349ef2cadcc4d816706951b87998
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: e539891f9687 ("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