aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Keepax2019-05-01 11:13:31 +0100
committerMark Brown2019-05-02 11:11:22 +0900
commitb75a9799dc371ce5f51a73536f248f60a1be74ec (patch)
treefae23d14ae7b8866d900f2822cf4a6d64b071d68
parent07f80454369e5a8141dbbf4ae0a535230f223f2b (diff)
ASoC: wm_adsp: Correct region base typo in wm_halo_setup_algs
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>
-rw-r--r--sound/soc/codecs/wm_adsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c
index bb10c4aeceb4..b26e6b825a90 100644
--- a/sound/soc/codecs/wm_adsp.c
+++ b/sound/soc/codecs/wm_adsp.c
@@ -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;