OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ff3036
)
ASoC: core: fix return code in error message
author
Daniel Mack
<daniel@zonque.org>
Sat, 19 May 2018 06:01:19 +0000
(08:01 +0200)
committer
Mark Brown
<broonie@kernel.org>
Mon, 21 May 2018 10:55:03 +0000
(11:55 +0100)
Log the correct error code in case the .open() call to a component fails.
Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-pcm.c
patch
|
blob
|
history
diff --git
a/sound/soc/soc-pcm.c
b/sound/soc/soc-pcm.c
index
87c9af2
..
2df4719
100644
(file)
--- a/
sound/soc/soc-pcm.c
+++ b/
sound/soc/soc-pcm.c
@@
-498,7
+498,7
@@
static int soc_pcm_open(struct snd_pcm_substream *substream)
if (__ret < 0) {
dev_err(component->dev,
"ASoC: can't open component %s: %d\n",
- component->name, ret);
+ component->name,
__
ret);
ret = __ret;
}
}