diff options
Diffstat (limited to 'sound/pci/hda/hda_auto_parser.c')
-rw-r--r-- | sound/pci/hda/hda_auto_parser.c | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/sound/pci/hda/hda_auto_parser.c b/sound/pci/hda/hda_auto_parser.c index 1ede82200ee5..3f8706bb3d16 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")); |
@@ -920,6 +920,8 @@ void snd_hda_pick_pin_fixup(struct hda_codec *codec, | |||
920 | codec->fixup_id = pq->value; | 920 | codec->fixup_id = pq->value; |
921 | #ifdef CONFIG_SND_DEBUG_VERBOSE | 921 | #ifdef CONFIG_SND_DEBUG_VERBOSE |
922 | codec->fixup_name = pq->name; | 922 | codec->fixup_name = pq->name; |
923 | codec_dbg(codec, "%s: picked fixup %s (pin match)\n", | ||
924 | codec->chip_name, codec->fixup_name); | ||
923 | #endif | 925 | #endif |
924 | codec->fixup_list = fixlist; | 926 | codec->fixup_list = fixlist; |
925 | return; | 927 | return; |
@@ -960,6 +962,8 @@ void snd_hda_pick_fixup(struct hda_codec *codec, | |||
960 | codec->fixup_list = NULL; | 962 | codec->fixup_list = NULL; |
961 | codec->fixup_name = NULL; | 963 | codec->fixup_name = NULL; |
962 | codec->fixup_id = HDA_FIXUP_ID_NO_FIXUP; | 964 | codec->fixup_id = HDA_FIXUP_ID_NO_FIXUP; |
965 | codec_dbg(codec, "%s: picked no fixup (nofixup specified)\n", | ||
966 | codec->chip_name); | ||
963 | return; | 967 | return; |
964 | } | 968 | } |
965 | 969 | ||
@@ -969,6 +973,8 @@ void snd_hda_pick_fixup(struct hda_codec *codec, | |||
969 | codec->fixup_id = models->id; | 973 | codec->fixup_id = models->id; |
970 | codec->fixup_name = models->name; | 974 | codec->fixup_name = models->name; |
971 | codec->fixup_list = fixlist; | 975 | codec->fixup_list = fixlist; |
976 | codec_dbg(codec, "%s: picked fixup %s (model specified)\n", | ||
977 | codec->chip_name, codec->fixup_name); | ||
972 | return; | 978 | return; |
973 | } | 979 | } |
974 | models++; | 980 | models++; |
@@ -980,6 +986,8 @@ void snd_hda_pick_fixup(struct hda_codec *codec, | |||
980 | id = q->value; | 986 | id = q->value; |
981 | #ifdef CONFIG_SND_DEBUG_VERBOSE | 987 | #ifdef CONFIG_SND_DEBUG_VERBOSE |
982 | name = q->name; | 988 | name = q->name; |
989 | codec_dbg(codec, "%s: picked fixup %s (PCI SSID%s)\n", | ||
990 | codec->chip_name, name, q->subdevice_mask ? "" : " - vendor generic"); | ||
983 | #endif | 991 | #endif |
984 | } | 992 | } |
985 | } | 993 | } |
@@ -992,6 +1000,8 @@ void snd_hda_pick_fixup(struct hda_codec *codec, | |||
992 | id = q->value; | 1000 | id = q->value; |
993 | #ifdef CONFIG_SND_DEBUG_VERBOSE | 1001 | #ifdef CONFIG_SND_DEBUG_VERBOSE |
994 | name = q->name; | 1002 | name = q->name; |
1003 | codec_dbg(codec, "%s: picked fixup %s (codec SSID)\n", | ||
1004 | codec->chip_name, name); | ||
995 | #endif | 1005 | #endif |
996 | break; | 1006 | break; |
997 | } | 1007 | } |