summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2019-05-01 13:13:31 +0300
committerMark Brown <broonie@kernel.org>2019-05-02 05:11:22 +0300
commitb75a9799dc371ce5f51a73536f248f60a1be74ec (patch)
treefae23d14ae7b8866d900f2822cf4a6d64b071d68 /sound
parent07f80454369e5a8141dbbf4ae0a535230f223f2b (diff)
downloadlinux-b75a9799dc371ce5f51a73536f248f60a1be74ec.tar.xz
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>
Diffstat (limited to 'sound')
-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;