From: Mark Brown Date: Wed, 23 Jan 2013 16:35:48 +0000 (+0800) Subject: ASoC: wm_adsp: Correct handling of some coefficeint blocks X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=338c5188f6fbccf3ef34a6ae46ada8f64565e1d0;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git ASoC: wm_adsp: Correct handling of some coefficeint blocks Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c index bc5e3838599..55a0089d775 100644 --- a/sound/soc/codecs/wm_adsp.c +++ b/sound/soc/codecs/wm_adsp.c @@ -768,9 +768,10 @@ static int wm_adsp_load_coeff(struct wm_adsp *dsp) &dsp->alg_regions, list) { if (le32_to_cpu(blk->id) == alg_region->alg && type == alg_region->type) { - reg = alg_region->base + offset; + reg = alg_region->base; reg = wm_adsp_region_to_reg(mem, reg); + reg += offset; } }