]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tegra: Fix kcontrol put callback in DMIC
authorSameer Pujar <spujar@nvidia.com>
Thu, 18 Nov 2021 07:07:04 +0000 (12:37 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 18 Nov 2021 19:02:31 +0000 (19:02 +0000)
commitfe49f39249aad5e077a178bdf04edadaff2aa250
tree011bd6cf11fde6896fc23806d9d36503dcf6e56d
parentb6673aeafeb242b3ceae42cb5a20026ab17b47f0
ASoC: tegra: Fix kcontrol put callback in DMIC

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

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