projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e1fe5d
)
ASoC: core: Print component name when printing log
author
Amadeusz Sławiński
<amadeuszx.slawinski@linux.intel.com>
Fri, 29 Sep 2023 10:32:42 +0000
(12:32 +0200)
committer
Mark Brown
<broonie@kernel.org>
Fri, 29 Sep 2023 12:17:49 +0000
(14:17 +0200)
When printing log related to component it is useful to know, to which
component it applies to.
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link:
https://lore.kernel.org/r/20230929103243.705433-1-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c
patch
|
blob
|
history
diff --git
a/sound/soc/soc-core.c
b/sound/soc/soc-core.c
index cc442c52cdea959f9ddf9cddc0e84330effc61d6..33eb5e2bb8bc0c50ab1e6672091507dae59634af 100644
(file)
--- a/
sound/soc/soc-core.c
+++ b/
sound/soc/soc-core.c
@@
-1445,8
+1445,8
@@
static int soc_probe_component(struct snd_soc_card *card,
if (component->card) {
if (component->card != card) {
dev_err(component->dev,
- "Trying to bind component to card \"%s\" but is already bound to card \"%s\"\n",
- card->name, component->card->name);
+ "Trying to bind component
\"%s\"
to card \"%s\" but is already bound to card \"%s\"\n",
+ c
omponent->name, c
ard->name, component->card->name);
return -ENODEV;
}
return 0;