diff options
author | David Henningsson <david.henningsson@canonical.com> | 2015-01-07 08:41:58 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-01-07 09:48:51 -0500 |
commit | 322b8af16f267a2bc027297ffa9b3b681325ed37 (patch) | |
tree | 29a2c7c3af6436e907aa7a68c841a8adbacc3485 | |
parent | b2d8957f288e2e51085e7c468a05d5d98f0a785f (diff) |
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 <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/pci/hda/hda_auto_parser.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/pci/hda/hda_auto_parser.c b/sound/pci/hda/hda_auto_parser.c index 1ede82200ee5..6ec3775699b2 100644 --- a/sound/pci/hda/hda_auto_parser.c +++ b/sound/pci/hda/hda_auto_parser.c | |||
@@ -409,10 +409,10 @@ int snd_hda_parse_pin_defcfg(struct hda_codec *codec, | |||
409 | /* | 409 | /* |
410 | * debug prints of the parsed results | 410 | * debug prints of the parsed results |
411 | */ | 411 | */ |
412 | codec_info(codec, "autoconfig: line_outs=%d (0x%x/0x%x/0x%x/0x%x/0x%x) type:%s\n", | 412 | codec_info(codec, "autoconfig for %s: 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], | 413 | codec->chip_name, cfg->line_outs, cfg->line_out_pins[0], |
414 | cfg->line_out_pins[2], cfg->line_out_pins[3], | 414 | cfg->line_out_pins[1], cfg->line_out_pins[2], |
415 | cfg->line_out_pins[4], | 415 | cfg->line_out_pins[3], cfg->line_out_pins[4], |
416 | cfg->line_out_type == AUTO_PIN_HP_OUT ? "hp" : | 416 | cfg->line_out_type == AUTO_PIN_HP_OUT ? "hp" : |
417 | (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT ? | 417 | (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT ? |
418 | "speaker" : "line")); | 418 | "speaker" : "line")); |