ASoC: tegra: Fix kcontrol put callback in ADMAIF
authorSameer Pujar <spujar@nvidia.com>
Thu, 18 Nov 2021 07:07:02 +0000 (12:37 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 18 Nov 2021 19:02:25 +0000 (19:02 +0000)
commite2b87a18a60c02d0dcd1de801d669587e516cc4d
tree7863e5fc52e5506ff57b550dd39b3167a7ed0860
parent6762965d0214df474e3a58e1d4d3ab004c5da0ea
ASoC: tegra: Fix kcontrol put callback in ADMAIF

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. Update
the ADMAIF driver accordingly.

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