projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f110bfc
)
ASoC: pcm: Report error code when we fail to init platform
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Wed, 26 Sep 2012 13:25:17 +0000
(14:25 +0100)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Tue, 27 Nov 2012 19:35:59 +0000
(19:35 +0000)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-pcm.c
patch
|
blob
|
history
diff --git
a/sound/soc/soc-pcm.c
b/sound/soc/soc-pcm.c
index 314102ad862dad53c5a87c805260d9780a483df2..5c3ca2a3466170cd132464760dffd9b63155ebe9 100644
(file)
--- a/
sound/soc/soc-pcm.c
+++ b/
sound/soc/soc-pcm.c
@@
-2100,7
+2100,9
@@
int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num)
if (platform->driver->pcm_new) {
ret = platform->driver->pcm_new(rtd);
if (ret < 0) {
- dev_err(platform->dev, "ASoC: pcm constructor failed\n");
+ dev_err(platform->dev,
+ "ASoC: pcm constructor failed: %d\n",
+ ret);
return ret;
}
}