projects
/
linux.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 87c9af2158d0db2be32ea9a97e59ae574704df2a..2df4719a84db0f37951a23a0fbeb4f1c557c43ab 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;
}
}