ASoC: tegra: Fix kcontrol put callback in DMIC
stable inclusion from stable-v5.10.84 commit 256aa15aac6d3c585524c5af82d2d0b5e16211a7 bugzilla: 186030 https://gitee.com/openeuler/kernel/issues/I4QV2F Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=256aa15aac6d3c585524c5af82d2d0b5e16211a7 -------------------------------- commit a347dfa1 upstream. 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: 8c8ff982 ("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> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Chen Jun <chenjun102@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment