]> 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)
commitab571a7c2a26c616e988b397a505da8777c3d0f3
tree38b275460e23e9d1d5e2eb0c785ea10ebc0ee336
parentbd8261569bf15f47dfdddb7e29e9d9f333f00538
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: 3368abb34f16 ("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