diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-04-09 10:52:37 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-09 12:32:29 +0200 |
commit | 2e55b90a5e234524f8195c657006ec4f71103dff (patch) | |
tree | 060bbeb681c5744cce98db58918ed4581eb48a6a /include/sound | |
parent | ASoC: Create card debugfs directory earlier (diff) | |
download | linux-2e55b90a5e234524f8195c657006ec4f71103dff.tar.xz linux-2e55b90a5e234524f8195c657006ec4f71103dff.zip |
ASoC: Make soc_dpcm_debugfs_add() non-fatal
Failing to register the debugfs entries is not fatal and will not affect
normal operation of the sound card. Don't abort the card registration if
soc_dpcm_debugfs_add() fails.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc-dpcm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/soc-dpcm.h b/include/sound/soc-dpcm.h index 98f2ade0266e..806059052bfc 100644 --- a/include/sound/soc-dpcm.h +++ b/include/sound/soc-dpcm.h @@ -135,7 +135,7 @@ void snd_soc_dpcm_be_set_state(struct snd_soc_pcm_runtime *be, int stream, /* internal use only */ int soc_dpcm_be_digital_mute(struct snd_soc_pcm_runtime *fe, int mute); -int soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd); +void soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd); int soc_dpcm_runtime_update(struct snd_soc_card *); int dpcm_path_get(struct snd_soc_pcm_runtime *fe, |