summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm_adsp.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-30 13:11:01 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-30 13:11:01 +0100
commit31522764c6b57e41b79220156efc5d208f2f841a (patch)
tree98b49f8b3293eaf00695350675e689e316ec5151 /sound/soc/codecs/wm_adsp.c
parentMerge remote-tracking branch 'asoc/fix/adsp' into asoc-adsp (diff)
downloadlinux-31522764c6b57e41b79220156efc5d208f2f841a.tar.xz
linux-31522764c6b57e41b79220156efc5d208f2f841a.zip
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 f3a9b559e0fe..5487a94f4595 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;
}