diff options
Diffstat (limited to 'sound/soc/soc-core.c')
| -rw-r--r-- | sound/soc/soc-core.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 3f18fa7f090d..d29c68ad83c7 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c | |||
| @@ -1328,15 +1328,8 @@ static int soc_probe_link_dais(struct snd_soc_card *card, int num, int order) | |||
| 1328 | 1328 | ||
| 1329 | #ifdef CONFIG_DEBUG_FS | 1329 | #ifdef CONFIG_DEBUG_FS |
| 1330 | /* add DPCM sysfs entries */ | 1330 | /* add DPCM sysfs entries */ |
| 1331 | if (dai_link->dynamic) { | 1331 | if (dai_link->dynamic) |
| 1332 | ret = soc_dpcm_debugfs_add(rtd); | 1332 | soc_dpcm_debugfs_add(rtd); |
| 1333 | if (ret < 0) { | ||
| 1334 | dev_err(rtd->dev, | ||
| 1335 | "ASoC: failed to add dpcm sysfs entries: %d\n", | ||
| 1336 | ret); | ||
| 1337 | return ret; | ||
| 1338 | } | ||
| 1339 | } | ||
| 1340 | #endif | 1333 | #endif |
| 1341 | 1334 | ||
| 1342 | if (cpu_dai->driver->compress_dai) { | 1335 | if (cpu_dai->driver->compress_dai) { |
