[PATCH] ASoC: wm8958: Fix change notifications for DSP controls
Charles Keepax
ckeepax at opensource.cirrus.com
Mon Apr 18 14:58:38 CEST 2022
On Sat, Apr 16, 2022 at 01:54:08PM +0100, Mark Brown wrote:
> The WM8958 DSP controls all return 0 on successful write, not a boolean
> value indicating if the write changed the value of the control. Fix this
> by returning 1 after a change, there is already a check at the start of
> each put() that skips the function in the case that there is no change.
>
> Signed-off-by: Mark Brown <broonie at kernel.org>
> ---
Acked-by: Charles Keepax <ckeepax at opensource.cirrus.com>
Thanks,
Charles
More information about the Alsa-devel
mailing list