diff options
author | Mark Brown <broonie@linaro.org> | 2014-01-16 12:42:53 +0000 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-16 12:42:53 +0000 |
commit | 99896f714a0a940d84476bc6208319f70af30789 (patch) | |
tree | 89002aa02e1308caf0c6a9d99fb5a722aee750e0 /sound/soc/soc-utils.c | |
parent | a9b68d3b90988dd13c668d6b1d45cdca1557f070 (diff) | |
parent | f7d3c17096f6cbca8f0113d5a092ffcc72c7bf41 (diff) | |
download | linux-99896f714a0a940d84476bc6208319f70af30789.tar.gz linux-99896f714a0a940d84476bc6208319f70af30789.tar.bz2 linux-99896f714a0a940d84476bc6208319f70af30789.zip |
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.c | 7 |
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; |