diff options
| -rw-r--r-- | sound/soc/generic/simple-card.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c index 8c49147db84c..b2fbb7075a6c 100644 --- a/sound/soc/generic/simple-card.c +++ b/sound/soc/generic/simple-card.c | |||
| @@ -27,6 +27,11 @@ static int __asoc_simple_card_dai_init(struct snd_soc_dai *dai, | |||
| 27 | if (!ret && daifmt) | 27 | if (!ret && daifmt) |
| 28 | ret = snd_soc_dai_set_fmt(dai, daifmt); | 28 | ret = snd_soc_dai_set_fmt(dai, daifmt); |
| 29 | 29 | ||
| 30 | if (ret == -ENOTSUPP) { | ||
| 31 | dev_dbg(dai->dev, "ASoC: set_fmt is not supported\n"); | ||
| 32 | ret = 0; | ||
| 33 | } | ||
| 34 | |||
| 30 | if (!ret && set->sysclk) | 35 | if (!ret && set->sysclk) |
| 31 | ret = snd_soc_dai_set_sysclk(dai, 0, set->sysclk, 0); | 36 | ret = snd_soc_dai_set_sysclk(dai, 0, set->sysclk, 0); |
| 32 | 37 | ||
