ASoC: wm_adsp: Fix support for firmware switching on DSP2 and higher

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Mark Brown 2013-01-30 20:11:01 +08:00
parent 06dc374c70
commit 31522764c6

View File

@ -196,7 +196,7 @@ static int wm_adsp_fw_put(struct snd_kcontrol *kcontrol,
if (adsp[e->shift_l].running)
return -EBUSY;
adsp->fw = ucontrol->value.integer.value[0];
adsp[e->shift_l].fw = ucontrol->value.integer.value[0];
return 0;
}