diff options
Diffstat (limited to 'sound/soc/generic')
-rw-r--r-- | sound/soc/generic/simple-card.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c index 6230efb05fd7..3ba65bb63439 100644 --- a/sound/soc/generic/simple-card.c +++ b/sound/soc/generic/simple-card.c | |||
@@ -25,7 +25,7 @@ static int __asoc_simple_card_dai_init(struct snd_soc_dai *dai, | |||
25 | 25 | ||
26 | daifmt |= set->fmt; | 26 | daifmt |= set->fmt; |
27 | 27 | ||
28 | if (!ret && daifmt) | 28 | if (daifmt) |
29 | ret = snd_soc_dai_set_fmt(dai, daifmt); | 29 | ret = snd_soc_dai_set_fmt(dai, daifmt); |
30 | 30 | ||
31 | if (ret == -ENOTSUPP) { | 31 | if (ret == -ENOTSUPP) { |