summaryrefslogtreecommitdiff
path: root/sound/soc/soc-dapm.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2015-12-09 18:01:44 +0300
committerMark Brown <broonie@kernel.org>2015-12-09 18:01:44 +0300
commitad83abe9a60e185b255df2534de3a9e669d65859 (patch)
tree653e469eda7c08a00bd55e6d26d126d8cec01344 /sound/soc/soc-dapm.c
parent9ec2053b13f75d7ad9c0e6db9763954bd1a1b9ae (diff)
parent56b4437f15ed2003413b857e08740576332e72d7 (diff)
downloadlinux-ad83abe9a60e185b255df2534de3a9e669d65859.tar.xz
Merge branch 'topic/sink' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-intel
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r--sound/soc/soc-dapm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 3eba72c6f9dd..506677b12787 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -3351,6 +3351,11 @@ snd_soc_dapm_new_control_unlocked(struct snd_soc_dapm_context *dapm,
w->is_ep = SND_SOC_DAPM_EP_SOURCE;
w->power_check = dapm_always_on_check_power;
break;
+ case snd_soc_dapm_sink:
+ w->is_ep = SND_SOC_DAPM_EP_SINK;
+ w->power_check = dapm_always_on_check_power;
+ break;
+
case snd_soc_dapm_mux:
case snd_soc_dapm_demux:
case snd_soc_dapm_switch: