From: Charles Keepax Date: Wed, 1 May 2019 10:13:31 +0000 (+0100) Subject: ASoC: wm_adsp: Correct region base typo in wm_halo_setup_algs X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b75a9799dc371ce5f51a73536f248f60a1be74ec;p=linux.git 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 Signed-off-by: Charles Keepax Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c index bb10c4aeceb40..b26e6b825a900 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;