From: Charles Keepax Date: Tue, 21 Jun 2022 10:20:38 +0000 (+0100) Subject: ASoC: wm_adsp: Fix event for preloader X-Git-Tag: microblaze-v6.1~23^2~30^2~8 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=9896c029f0df628c6cb108253d09b1d61f1d4a88;p=linux-2.6-microblaze.git ASoC: wm_adsp: Fix event for preloader The preloader controls on ADSP should return a value of 1 if the preloader value was changed, update to correct this. Signed-off-by: Charles Keepax Link: https://lore.kernel.org/r/20220621102041.1713504-1-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c index 6d7fd88243aa..a7784ac15dde 100644 --- a/sound/soc/codecs/wm_adsp.c +++ b/sound/soc/codecs/wm_adsp.c @@ -997,7 +997,7 @@ int wm_adsp2_preloader_put(struct snd_kcontrol *kcontrol, snd_soc_dapm_sync(dapm); } - return 0; + return 1; } EXPORT_SYMBOL_GPL(wm_adsp2_preloader_put);