]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ASoC: tegra: Fix kcontrol put callback in DSPK
authorSameer Pujar <spujar@nvidia.com>
Thu, 18 Nov 2021 07:07:05 +0000 (12:37 +0530)
committerPaolo Pisati <paolo.pisati@canonical.com>
Thu, 9 Dec 2021 10:10:41 +0000 (11:10 +0100)
commit43fa7e0c004d7c558d4bf5268724eed306f29332
treee02f80aed11775afc4b229535a01761dae04a661
parentd8e844be010bc4565fe8279f5d35264d19389177
ASoC: tegra: Fix kcontrol put callback in DSPK

BugLink: https://bugs.launchpad.net/bugs/1953731
commit d6202a57e79d102271d38c34481fedc9d4c79694 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 DSPK driver accordingly.

Fixes: 327ef6470266 ("ASoC: tegra: Add Tegra186 based DSPK 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-11-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: Paolo Pisati <paolo.pisati@canonical.com>
sound/soc/tegra/tegra186_dspk.c