ASoC: wm_adsp: Correct region base typo in wm_halo_setup_algs
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Wed, 1 May 2019 10:13:31 +0000 (11:13 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 2 May 2019 02:11:22 +0000 (11:11 +0900)
Due to a typo the wrong base is being supplied for the primary algorithm
on Halo firmwares, which will cause the controls to not function.

Fixes: 170b1e123f38 ("ASoC: wm_adsp: Add support for new Halo core DSPs")
Reported-by: Stuart Henderson <stuarth@opensource.cirrus.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c

index bb10c4aeceb4012c5558b252343a73195869ac0f..b26e6b825a900730ab1ac2c66633ecaf3e5bb74d 100644 (file)
@@ -2445,7 +2445,7 @@ static int wm_halo_setup_algs(struct wm_adsp *dsp)
        wmfw_v3_parse_id_header(dsp, &halo_id.fw, n_algs);
 
        ret = wm_halo_create_regions(dsp, halo_id.fw.id,
-                                    halo_id.ym_base, halo_id.ym_base);
+                                    halo_id.xm_base, halo_id.ym_base);
        if (ret)
                return ret;