aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-07-28 10:01:20 -0400
committerTakashi Iwai <tiwai@suse.de>2009-07-28 10:06:56 -0400
commit9a11f1aa8e14798037d0c9ac134696fa3af6eb2a (patch)
treeb097c2ff9d37b0a47e085a394c5785f848ac65b1 /sound/pci/hda/patch_realtek.c
parent1ba7a7c650bd8ee567e25d9b68e9081d131c70f6 (diff)
ALSA: hda - Reword information messages for BIOS auto-probing mode
The sentense "Unknown model for xxx, ..." makes people too nervous and drives them to a direction to a wrong "fix" by giving any mismatching model option. Let's rephrase the messages to be more nice and easy (at least that won't make people suspect conspiracies). 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.c34
1 files changed, 16 insertions, 18 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index df87c01e27dd..6794d028119d 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -4584,8 +4584,8 @@ static int patch_alc880(struct hda_codec *codec)
4584 alc880_models, 4584 alc880_models,
4585 alc880_cfg_tbl); 4585 alc880_cfg_tbl);
4586 if (board_config < 0) { 4586 if (board_config < 0) {
4587 printk(KERN_INFO "hda_codec: Unknown model for %s, " 4587 printk(KERN_INFO "hda_codec: %s: BIOS auto-probing.\n",
4588 "trying auto-probe from BIOS...\n", codec->chip_name); 4588 codec->chip_name);
4589 board_config = ALC880_AUTO; 4589 board_config = ALC880_AUTO;
4590 } 4590 }
4591 4591
@@ -6228,8 +6228,7 @@ static int patch_alc260(struct hda_codec *codec)
6228 alc260_models, 6228 alc260_models,
6229 alc260_cfg_tbl); 6229 alc260_cfg_tbl);
6230 if (board_config < 0) { 6230 if (board_config < 0) {
6231 snd_printd(KERN_INFO "hda_codec: Unknown model for %s, " 6231 snd_printd(KERN_INFO "hda_codec: %s: BIOS auto-probing.\n",
6232 "trying auto-probe from BIOS...\n",
6233 codec->chip_name); 6232 codec->chip_name);
6234 board_config = ALC260_AUTO; 6233 board_config = ALC260_AUTO;
6235 } 6234 }
@@ -9526,8 +9525,7 @@ static int patch_alc882(struct hda_codec *codec)
9526 ALC882_MODEL_LAST, alc882_models, alc882_ssid_cfg_tbl); 9525 ALC882_MODEL_LAST, alc882_models, alc882_ssid_cfg_tbl);
9527 9526
9528 if (board_config < 0 || board_config >= ALC882_MODEL_LAST) { 9527 if (board_config < 0 || board_config >= ALC882_MODEL_LAST) {
9529 printk(KERN_INFO "hda_codec: Unknown model for %s, " 9528 printk(KERN_INFO "hda_codec: %s: BIOS auto-probing.\n",
9530 "trying auto-probe from BIOS...\n",
9531 codec->chip_name); 9529 codec->chip_name);
9532 board_config = ALC882_AUTO; 9530 board_config = ALC882_AUTO;
9533 } 9531 }
@@ -11406,8 +11404,8 @@ static int patch_alc262(struct hda_codec *codec)
11406 alc262_cfg_tbl); 11404 alc262_cfg_tbl);
11407 11405
11408 if (board_config < 0) { 11406 if (board_config < 0) {
11409 printk(KERN_INFO "hda_codec: Unknown model for %s, " 11407 printk(KERN_INFO "hda_codec: %s: BIOS auto-probing.\n",
11410 "trying auto-probe from BIOS...\n", codec->chip_name); 11408 codec->chip_name);
11411 board_config = ALC262_AUTO; 11409 board_config = ALC262_AUTO;
11412 } 11410 }
11413 11411
@@ -12479,8 +12477,8 @@ static int patch_alc268(struct hda_codec *codec)
12479 alc268_cfg_tbl); 12477 alc268_cfg_tbl);
12480 12478
12481 if (board_config < 0 || board_config >= ALC268_MODEL_LAST) { 12479 if (board_config < 0 || board_config >= ALC268_MODEL_LAST) {
12482 printk(KERN_INFO "hda_codec: Unknown model for %s, " 12480 printk(KERN_INFO "hda_codec: %s: BIOS auto-probing.\n",
12483 "trying auto-probe from BIOS...\n", codec->chip_name); 12481 codec->chip_name);
12484 board_config = ALC268_AUTO; 12482 board_config = ALC268_AUTO;
12485 } 12483 }
12486 12484
@@ -13297,8 +13295,8 @@ static int patch_alc269(struct hda_codec *codec)
13297 alc269_cfg_tbl); 13295 alc269_cfg_tbl);
13298 13296
13299 if (board_config < 0) { 13297 if (board_config < 0) {
13300 printk(KERN_INFO "hda_codec: Unknown model for %s, " 13298 printk(KERN_INFO "hda_codec: %s: BIOS auto-probing.\n",
13301 "trying auto-probe from BIOS...\n", codec->chip_name); 13299 codec->chip_name);
13302 board_config = ALC269_AUTO; 13300 board_config = ALC269_AUTO;
13303 } 13301 }
13304 13302
@@ -14448,8 +14446,8 @@ static int patch_alc861(struct hda_codec *codec)
14448 alc861_cfg_tbl); 14446 alc861_cfg_tbl);
14449 14447
14450 if (board_config < 0) { 14448 if (board_config < 0) {
14451 printk(KERN_INFO "hda_codec: Unknown model for %s, " 14449 printk(KERN_INFO "hda_codec: %s: BIOS auto-probing.\n",
14452 "trying auto-probe from BIOS...\n", codec->chip_name); 14450 codec->chip_name);
14453 board_config = ALC861_AUTO; 14451 board_config = ALC861_AUTO;
14454 } 14452 }
14455 14453
@@ -15372,8 +15370,8 @@ static int patch_alc861vd(struct hda_codec *codec)
15372 alc861vd_cfg_tbl); 15370 alc861vd_cfg_tbl);
15373 15371
15374 if (board_config < 0 || board_config >= ALC861VD_MODEL_LAST) { 15372 if (board_config < 0 || board_config >= ALC861VD_MODEL_LAST) {
15375 printk(KERN_INFO "hda_codec: Unknown model for %s, " 15373 printk(KERN_INFO "hda_codec: %s: BIOS auto-probing.\n",
15376 "trying auto-probe from BIOS...\n", codec->chip_name); 15374 codec->chip_name);
15377 board_config = ALC861VD_AUTO; 15375 board_config = ALC861VD_AUTO;
15378 } 15376 }
15379 15377
@@ -17296,8 +17294,8 @@ static int patch_alc662(struct hda_codec *codec)
17296 alc662_models, 17294 alc662_models,
17297 alc662_cfg_tbl); 17295 alc662_cfg_tbl);
17298 if (board_config < 0) { 17296 if (board_config < 0) {
17299 printk(KERN_INFO "hda_codec: Unknown model for %s, " 17297 printk(KERN_INFO "hda_codec: %s: BIOS auto-probing.\n",
17300 "trying auto-probe from BIOS...\n", codec->chip_name); 17298 codec->chip_name);
17301 board_config = ALC662_AUTO; 17299 board_config = ALC662_AUTO;
17302 } 17300 }
17303 17301