aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/codecs/wm_adsp.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-08-04 16:31:15 +0100
committerMark Brown <broonie@linaro.org>2014-08-04 16:31:15 +0100
commita1cb98ac8b6980fcd530271c739c3dd7436a91aa (patch)
tree02a084f7ccb9d80c60a99c15d66800154fed146e /sound/soc/codecs/wm_adsp.c
parentMerge remote-tracking branch 'asoc/fix/tlv320aic31xx' into asoc-linus (diff)
parentASoC: Add function to register component controls (diff)
downloadwireguard-linux-a1cb98ac8b6980fcd530271c739c3dd7436a91aa.tar.xz
wireguard-linux-a1cb98ac8b6980fcd530271c739c3dd7436a91aa.zip
Merge remote-tracking branch 'asoc/topic/component' into asoc-next
Diffstat (limited to 'sound/soc/codecs/wm_adsp.c')
-rw-r--r--sound/soc/codecs/wm_adsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c
index 2537725dd53f..f412a9911a75 100644
--- a/sound/soc/codecs/wm_adsp.c
+++ b/sound/soc/codecs/wm_adsp.c
@@ -1382,7 +1382,7 @@ int wm_adsp1_event(struct snd_soc_dapm_widget *w,
int ret;
int val;
- dsp->card = codec->card;
+ dsp->card = codec->component.card;
switch (event) {
case SND_SOC_DAPM_POST_PMU:
@@ -1617,7 +1617,7 @@ int wm_adsp2_early_event(struct snd_soc_dapm_widget *w,
struct wm_adsp *dsps = snd_soc_codec_get_drvdata(codec);
struct wm_adsp *dsp = &dsps[w->shift];
- dsp->card = codec->card;
+ dsp->card = codec->component.card;
switch (event) {
case SND_SOC_DAPM_PRE_PMU: