]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tegra: Fix kcontrol put callback in AHUB
authorSameer Pujar <spujar@nvidia.com>
Thu, 18 Nov 2021 07:07:06 +0000 (12:37 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 18 Nov 2021 19:02:35 +0000 (19:02 +0000)
commit1cd5562bf886ac9513ea1275513ff3616b44e320
treec223455f107d0e67614cea10fcdbc5e065d87f7d
parent5a182e7f3764f316e2d282a6aa08a3e5a94c7beb
ASoC: tegra: Fix kcontrol put callback in AHUB

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 AHUB driver accordingly.

Fixes: ca500914d1f6 ("ASoC: tegra: Add Tegra210 based AHUB 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-12-git-send-email-spujar@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra210_ahub.c