aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-05-18 06:33:36 -0400
committerTakashi Iwai <tiwai@suse.de>2009-05-18 06:33:36 -0400
commit6c627f3978bf3059d45713e2e1240b7c43cc85f5 (patch)
treed9937c49c9a2d43a82b9a5668aab4865ad4701fc /sound/pci/hda/patch_realtek.c
parent812a2cca295ee7f56cd1b988a0f93646285c214a (diff)
ALSA: hda - Show the actual chip name in 'unkown model' messages
Show the actual chip name in 'unknown model..' info messages for Realtek codecs. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r--sound/pci/hda/patch_realtek.c42
1 files changed, 22 insertions, 20 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 4bc3e7e5355..62f4d0ca7e1 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -4410,8 +4410,8 @@ static int patch_alc880(struct hda_codec *codec)
4410 alc880_models, 4410 alc880_models,
4411 alc880_cfg_tbl); 4411 alc880_cfg_tbl);
4412 if (board_config < 0) { 4412 if (board_config < 0) {
4413 printk(KERN_INFO "hda_codec: Unknown model for ALC880, " 4413 printk(KERN_INFO "hda_codec: Unknown model for %s, "
4414 "trying auto-probe from BIOS...\n"); 4414 "trying auto-probe from BIOS...\n", codec->chip_name);
4415 board_config = ALC880_AUTO; 4415 board_config = ALC880_AUTO;
4416 } 4416 }
4417 4417
@@ -6054,8 +6054,9 @@ static int patch_alc260(struct hda_codec *codec)
6054 alc260_models, 6054 alc260_models,
6055 alc260_cfg_tbl); 6055 alc260_cfg_tbl);
6056 if (board_config < 0) { 6056 if (board_config < 0) {
6057 snd_printd(KERN_INFO "hda_codec: Unknown model for ALC260, " 6057 snd_printd(KERN_INFO "hda_codec: Unknown model for %s, "
6058 "trying auto-probe from BIOS...\n"); 6058 "trying auto-probe from BIOS...\n",
6059 codec->chip_name);
6059 board_config = ALC260_AUTO; 6060 board_config = ALC260_AUTO;
6060 } 6061 }
6061 6062
@@ -7308,8 +7309,9 @@ static int patch_alc882(struct hda_codec *codec)
7308 alc_free(codec); 7309 alc_free(codec);
7309 return patch_alc883(codec); 7310 return patch_alc883(codec);
7310 } 7311 }
7311 printk(KERN_INFO "hda_codec: Unknown model for ALC882, " 7312 printk(KERN_INFO "hda_codec: Unknown model for %s, "
7312 "trying auto-probe from BIOS...\n"); 7313 "trying auto-probe from BIOS...\n",
7314 codec->chip_name);
7313 board_config = ALC882_AUTO; 7315 board_config = ALC882_AUTO;
7314 } 7316 }
7315 } 7317 }
@@ -9196,8 +9198,8 @@ static int patch_alc883(struct hda_codec *codec)
9196 alc883_models, 9198 alc883_models,
9197 alc883_cfg_tbl); 9199 alc883_cfg_tbl);
9198 if (board_config < 0) { 9200 if (board_config < 0) {
9199 printk(KERN_INFO "hda_codec: Unknown model for ALC883, " 9201 printk(KERN_INFO "hda_codec: Unknown model for %s, "
9200 "trying auto-probe from BIOS...\n"); 9202 "trying auto-probe from BIOS...\n", codec->chip_name);
9201 board_config = ALC883_AUTO; 9203 board_config = ALC883_AUTO;
9202 } 9204 }
9203 9205
@@ -11040,8 +11042,8 @@ static int patch_alc262(struct hda_codec *codec)
11040 alc262_cfg_tbl); 11042 alc262_cfg_tbl);
11041 11043
11042 if (board_config < 0) { 11044 if (board_config < 0) {
11043 printk(KERN_INFO "hda_codec: Unknown model for ALC262, " 11045 printk(KERN_INFO "hda_codec: Unknown model for %s, "
11044 "trying auto-probe from BIOS...\n"); 11046 "trying auto-probe from BIOS...\n", codec->chip_name);
11045 board_config = ALC262_AUTO; 11047 board_config = ALC262_AUTO;
11046 } 11048 }
11047 11049
@@ -12076,8 +12078,8 @@ static int patch_alc268(struct hda_codec *codec)
12076 alc268_cfg_tbl); 12078 alc268_cfg_tbl);
12077 12079
12078 if (board_config < 0 || board_config >= ALC268_MODEL_LAST) { 12080 if (board_config < 0 || board_config >= ALC268_MODEL_LAST) {
12079 printk(KERN_INFO "hda_codec: Unknown model for ALC268, " 12081 printk(KERN_INFO "hda_codec: Unknown model for %s, "
12080 "trying auto-probe from BIOS...\n"); 12082 "trying auto-probe from BIOS...\n", codec->chip_name);
12081 board_config = ALC268_AUTO; 12083 board_config = ALC268_AUTO;
12082 } 12084 }
12083 12085
@@ -12924,8 +12926,8 @@ static int patch_alc269(struct hda_codec *codec)
12924 alc269_cfg_tbl); 12926 alc269_cfg_tbl);
12925 12927
12926 if (board_config < 0) { 12928 if (board_config < 0) {
12927 printk(KERN_INFO "hda_codec: Unknown model for ALC269, " 12929 printk(KERN_INFO "hda_codec: Unknown model for %s, "
12928 "trying auto-probe from BIOS...\n"); 12930 "trying auto-probe from BIOS...\n", codec->chip_name);
12929 board_config = ALC269_AUTO; 12931 board_config = ALC269_AUTO;
12930 } 12932 }
12931 12933
@@ -14023,8 +14025,8 @@ static int patch_alc861(struct hda_codec *codec)
14023 alc861_cfg_tbl); 14025 alc861_cfg_tbl);
14024 14026
14025 if (board_config < 0) { 14027 if (board_config < 0) {
14026 printk(KERN_INFO "hda_codec: Unknown model for ALC861, " 14028 printk(KERN_INFO "hda_codec: Unknown model for %s, "
14027 "trying auto-probe from BIOS...\n"); 14029 "trying auto-probe from BIOS...\n", codec->chip_name);
14028 board_config = ALC861_AUTO; 14030 board_config = ALC861_AUTO;
14029 } 14031 }
14030 14032
@@ -14947,8 +14949,8 @@ static int patch_alc861vd(struct hda_codec *codec)
14947 alc861vd_cfg_tbl); 14949 alc861vd_cfg_tbl);
14948 14950
14949 if (board_config < 0 || board_config >= ALC861VD_MODEL_LAST) { 14951 if (board_config < 0 || board_config >= ALC861VD_MODEL_LAST) {
14950 printk(KERN_INFO "hda_codec: Unknown model for ALC660VD/" 14952 printk(KERN_INFO "hda_codec: Unknown model for %s, "
14951 "ALC861VD, trying auto-probe from BIOS...\n"); 14953 "trying auto-probe from BIOS...\n", codec->chip_name);
14952 board_config = ALC861VD_AUTO; 14954 board_config = ALC861VD_AUTO;
14953 } 14955 }
14954 14956
@@ -16872,8 +16874,8 @@ static int patch_alc662(struct hda_codec *codec)
16872 alc662_models, 16874 alc662_models,
16873 alc662_cfg_tbl); 16875 alc662_cfg_tbl);
16874 if (board_config < 0) { 16876 if (board_config < 0) {
16875 printk(KERN_INFO "hda_codec: Unknown model for ALC662, " 16877 printk(KERN_INFO "hda_codec: Unknown model for %s, "
16876 "trying auto-probe from BIOS...\n"); 16878 "trying auto-probe from BIOS...\n", codec->chip_name);
16877 board_config = ALC662_AUTO; 16879 board_config = ALC662_AUTO;
16878 } 16880 }
16879 16881