ASoC: wm_adsp: Correct handling of some coefficeint blocks

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Mark Brown 2013-01-24 00:35:48 +08:00
parent 20da6d5ac0
commit 338c5188f6

View File

@ -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;
}
}