summaryrefslogtreecommitdiff
path: root/sound/soc/soc-dapm.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2015-02-04 23:57:06 +0300
committerMark Brown <broonie@kernel.org>2015-02-04 23:57:06 +0300
commit7a869e108e5d82b021a6ce10d25e97e6b7f5823a (patch)
tree27f832ff7b47b6d3200a084afd0c8ef4ad4a7078 /sound/soc/soc-dapm.c
parent7d590e462315f40f821599bcc0b2b6b7f62142a8 (diff)
parent60d66c9a24907c8c965be4c7d15f67bd9d54b553 (diff)
downloadlinux-7a869e108e5d82b021a6ce10d25e97e6b7f5823a.tar.xz
Merge remote-tracking branch 'asoc/topic/w-codec' into asoc-next
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r--sound/soc/soc-dapm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index ff0bce1a2d2c..b6f88202b8c9 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -3139,8 +3139,6 @@ snd_soc_dapm_new_control(struct snd_soc_dapm_context *dapm,
}
w->dapm = dapm;
- if (dapm->component)
- w->codec = dapm->component->codec;
INIT_LIST_HEAD(&w->sources);
INIT_LIST_HEAD(&w->sinks);
INIT_LIST_HEAD(&w->list);