Skip to content

Commit 322b8af

Browse files
David Henningssontiwai
authored andcommitted
ALSA: hda - Print codec->chip_name in autoconfig
This will help end users figure out what HDA codec they have. Signed-off-by: David Henningsson <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent b2d8957 commit 322b8af

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sound/pci/hda/hda_auto_parser.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -409,10 +409,10 @@ int snd_hda_parse_pin_defcfg(struct hda_codec *codec,
409409
/*
410410
* debug prints of the parsed results
411411
*/
412-
codec_info(codec, "autoconfig: line_outs=%d (0x%x/0x%x/0x%x/0x%x/0x%x) type:%s\n",
413-
cfg->line_outs, cfg->line_out_pins[0], cfg->line_out_pins[1],
414-
cfg->line_out_pins[2], cfg->line_out_pins[3],
415-
cfg->line_out_pins[4],
412+
codec_info(codec, "autoconfig for %s: line_outs=%d (0x%x/0x%x/0x%x/0x%x/0x%x) type:%s\n",
413+
codec->chip_name, cfg->line_outs, cfg->line_out_pins[0],
414+
cfg->line_out_pins[1], cfg->line_out_pins[2],
415+
cfg->line_out_pins[3], cfg->line_out_pins[4],
416416
cfg->line_out_type == AUTO_PIN_HP_OUT ? "hp" :
417417
(cfg->line_out_type == AUTO_PIN_SPEAKER_OUT ?
418418
"speaker" : "line"));

0 commit comments

Comments
 (0)