Skip to content

Commit e80f238

Browse files
Amadeusz Sławińskibroonie
authored andcommitted
ASoC: core: Print component name when printing log
When printing log related to component it is useful to know, to which component it applies to. Reviewed-by: Cezary Rojewski <[email protected]> Signed-off-by: Amadeusz Sławiński <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 7e1fe5d commit e80f238

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/soc/soc-core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,8 +1445,8 @@ static int soc_probe_component(struct snd_soc_card *card,
14451445
if (component->card) {
14461446
if (component->card != card) {
14471447
dev_err(component->dev,
1448-
"Trying to bind component to card \"%s\" but is already bound to card \"%s\"\n",
1449-
card->name, component->card->name);
1448+
"Trying to bind component \"%s\" to card \"%s\" but is already bound to card \"%s\"\n",
1449+
component->name, card->name, component->card->name);
14501450
return -ENODEV;
14511451
}
14521452
return 0;

0 commit comments

Comments
 (0)