Browse Source

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

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown 12 years ago
parent
commit
31522764c6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sound/soc/codecs/wm_adsp.c

+ 1 - 1
sound/soc/codecs/wm_adsp.c

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