summaryrefslogtreecommitdiff
path: root/sound/soc/soc-utils.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-01-16 12:42:53 +0000
committerMark Brown <broonie@linaro.org>2014-01-16 12:42:53 +0000
commit99896f714a0a940d84476bc6208319f70af30789 (patch)
tree89002aa02e1308caf0c6a9d99fb5a722aee750e0 /sound/soc/soc-utils.c
parenta9b68d3b90988dd13c668d6b1d45cdca1557f070 (diff)
parentf7d3c17096f6cbca8f0113d5a092ffcc72c7bf41 (diff)
Merge remote-tracking branch 'asoc/topic/dapm' into for-tiwai
Diffstat (limited to 'sound/soc/soc-utils.c')
-rw-r--r--sound/soc/soc-utils.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/soc-utils.c b/sound/soc/soc-utils.c
index 6ebdfd9a1a1d..7f22ca35a413 100644
--- a/sound/soc/soc-utils.c
+++ b/sound/soc/soc-utils.c
@@ -119,6 +119,13 @@ static struct snd_soc_dai_driver dummy_dai = {
},
};
+int snd_soc_dai_is_dummy(struct snd_soc_dai *dai)
+{
+ if (dai->driver == &dummy_dai)
+ return 1;
+ return 0;
+}
+
static int snd_soc_dummy_probe(struct platform_device *pdev)
{
int ret;