diff options
author | Mark Brown <broonie@linaro.org> | 2014-01-16 13:42:53 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-16 13:42:53 +0100 |
commit | 99896f714a0a940d84476bc6208319f70af30789 (patch) | |
tree | 89002aa02e1308caf0c6a9d99fb5a722aee750e0 /sound/soc/soc-utils.c | |
parent | Merge remote-tracking branch 'asoc/topic/core' into for-tiwai (diff) | |
parent | ASoC: dapm: Change prototype of soc_widget_read (diff) | |
download | linux-99896f714a0a940d84476bc6208319f70af30789.tar.xz 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; |