summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm_adsp.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-30 12:11:01 (GMT)
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-30 12:11:01 (GMT)
commit31522764c6b57e41b79220156efc5d208f2f841a (patch)
tree98b49f8b3293eaf00695350675e689e316ec5151 /sound/soc/codecs/wm_adsp.c
parent06dc374c70fd75fb3f81a4c1f6586d7c5b8e3833 (diff)
downloadlinux-31522764c6b57e41b79220156efc5d208f2f841a.tar.xz
ASoC: wm_adsp: Fix support for firmware switching on DSP2 and higher
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm_adsp.c')
-rw-r--r--sound/soc/codecs/wm_adsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c
index f3a9b55..5487a94 100644
--- a/sound/soc/codecs/wm_adsp.c
+++ b/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;
}