]> git.dujemihanovic.xyz Git - linux.git/commit
ASoC: tegra: Fix kcontrol put callback in MVC
authorSameer Pujar <spujar@nvidia.com>
Thu, 18 Nov 2021 07:07:07 +0000 (12:37 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 18 Nov 2021 19:02:37 +0000 (19:02 +0000)
commitc7b34b51bbac6ab64e873f6c9bd43564a7442e33
treef5c8a3d9c34f828a51ad43ce1d7cae6cba4da8d3
parenta4e37950c9e9b126f9cbee79b8ab94a94646dcf1
ASoC: tegra: Fix kcontrol put callback in MVC

The kcontrol put callback is expected to return 1 when there is change
in HW or when the update is acknowledged by driver. This would ensure
that change notifications are sent to subscribed applications. Filter
out duplicate updates in MVC driver.

Fixes: e539891f9687 ("ASoC: tegra: Add Tegra210 based MVC driver")
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Suggested-by: Jaroslav Kysela <perex@perex.cz>
Suggested-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/1637219231-406-13-git-send-email-spujar@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra210_mvc.c