ASoC: wm_adsp: Fix event for preloader
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Tue, 21 Jun 2022 10:20:38 +0000 (11:20 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 24 Jun 2022 15:21:54 +0000 (16:21 +0100)
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 <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220621102041.1713504-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c

index 6d7fd88..a7784ac 100644 (file)
@@ -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);