diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-07-28 10:01:20 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-07-28 10:06:56 -0400 |
commit | 9a11f1aa8e14798037d0c9ac134696fa3af6eb2a (patch) | |
tree | b097c2ff9d37b0a47e085a394c5785f848ac65b1 /sound/pci/hda/patch_sigmatel.c | |
parent | 1ba7a7c650bd8ee567e25d9b68e9081d131c70f6 (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_sigmatel.c')
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 9de97f306999..c6dc625c66b4 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -4794,7 +4794,8 @@ static int patch_stac9200(struct hda_codec *codec) | |||
4794 | stac9200_models, | 4794 | stac9200_models, |
4795 | stac9200_cfg_tbl); | 4795 | stac9200_cfg_tbl); |
4796 | if (spec->board_config < 0) | 4796 | if (spec->board_config < 0) |
4797 | snd_printdd(KERN_INFO "hda_codec: Unknown model for STAC9200, using BIOS defaults\n"); | 4797 | snd_printdd(KERN_INFO "hda_codec: %s: BIOS auto-probing.\n", |
4798 | codec->chip_name); | ||
4798 | else | 4799 | else |
4799 | stac92xx_set_config_regs(codec, | 4800 | stac92xx_set_config_regs(codec, |
4800 | stac9200_brd_tbl[spec->board_config]); | 4801 | stac9200_brd_tbl[spec->board_config]); |
@@ -4866,8 +4867,8 @@ static int patch_stac925x(struct hda_codec *codec) | |||
4866 | stac925x_cfg_tbl); | 4867 | stac925x_cfg_tbl); |
4867 | again: | 4868 | again: |
4868 | if (spec->board_config < 0) | 4869 | if (spec->board_config < 0) |
4869 | snd_printdd(KERN_INFO "hda_codec: Unknown model for STAC925x," | 4870 | snd_printdd(KERN_INFO "hda_codec: %s: BIOS auto-probing.\n", |
4870 | "using BIOS defaults\n"); | 4871 | codec->chip_name); |
4871 | else | 4872 | else |
4872 | stac92xx_set_config_regs(codec, | 4873 | stac92xx_set_config_regs(codec, |
4873 | stac925x_brd_tbl[spec->board_config]); | 4874 | stac925x_brd_tbl[spec->board_config]); |
@@ -4949,8 +4950,8 @@ static int patch_stac92hd73xx(struct hda_codec *codec) | |||
4949 | stac92hd73xx_cfg_tbl); | 4950 | stac92hd73xx_cfg_tbl); |
4950 | again: | 4951 | again: |
4951 | if (spec->board_config < 0) | 4952 | if (spec->board_config < 0) |
4952 | snd_printdd(KERN_INFO "hda_codec: Unknown model for" | 4953 | snd_printdd(KERN_INFO "hda_codec: %s: BIOS auto-probing.\n", |
4953 | " STAC92HD73XX, using BIOS defaults\n"); | 4954 | codec->chip_name); |
4954 | else | 4955 | else |
4955 | stac92xx_set_config_regs(codec, | 4956 | stac92xx_set_config_regs(codec, |
4956 | stac92hd73xx_brd_tbl[spec->board_config]); | 4957 | stac92hd73xx_brd_tbl[spec->board_config]); |
@@ -5125,8 +5126,8 @@ static int patch_stac92hd83xxx(struct hda_codec *codec) | |||
5125 | stac92hd83xxx_cfg_tbl); | 5126 | stac92hd83xxx_cfg_tbl); |
5126 | again: | 5127 | again: |
5127 | if (spec->board_config < 0) | 5128 | if (spec->board_config < 0) |
5128 | snd_printdd(KERN_INFO "hda_codec: Unknown model for" | 5129 | snd_printdd(KERN_INFO "hda_codec: %s: BIOS auto-probing.\n", |
5129 | " STAC92HD83XXX, using BIOS defaults\n"); | 5130 | codec->chip_name); |
5130 | else | 5131 | else |
5131 | stac92xx_set_config_regs(codec, | 5132 | stac92xx_set_config_regs(codec, |
5132 | stac92hd83xxx_brd_tbl[spec->board_config]); | 5133 | stac92hd83xxx_brd_tbl[spec->board_config]); |
@@ -5291,8 +5292,8 @@ static int patch_stac92hd71bxx(struct hda_codec *codec) | |||
5291 | stac92hd71bxx_cfg_tbl); | 5292 | stac92hd71bxx_cfg_tbl); |
5292 | again: | 5293 | again: |
5293 | if (spec->board_config < 0) | 5294 | if (spec->board_config < 0) |
5294 | snd_printdd(KERN_INFO "hda_codec: Unknown model for" | 5295 | snd_printdd(KERN_INFO "hda_codec: %s: BIOS auto-probing.\n", |
5295 | " STAC92HD71BXX, using BIOS defaults\n"); | 5296 | codec->chip_name); |
5296 | else | 5297 | else |
5297 | stac92xx_set_config_regs(codec, | 5298 | stac92xx_set_config_regs(codec, |
5298 | stac92hd71bxx_brd_tbl[spec->board_config]); | 5299 | stac92hd71bxx_brd_tbl[spec->board_config]); |
@@ -5547,8 +5548,8 @@ static int patch_stac922x(struct hda_codec *codec) | |||
5547 | 5548 | ||
5548 | again: | 5549 | again: |
5549 | if (spec->board_config < 0) | 5550 | if (spec->board_config < 0) |
5550 | snd_printdd(KERN_INFO "hda_codec: Unknown model for STAC922x, " | 5551 | snd_printdd(KERN_INFO "hda_codec: %s: BIOS auto-probing.\n", |
5551 | "using BIOS defaults\n"); | 5552 | codec->chip_name); |
5552 | else | 5553 | else |
5553 | stac92xx_set_config_regs(codec, | 5554 | stac92xx_set_config_regs(codec, |
5554 | stac922x_brd_tbl[spec->board_config]); | 5555 | stac922x_brd_tbl[spec->board_config]); |
@@ -5610,8 +5611,8 @@ static int patch_stac927x(struct hda_codec *codec) | |||
5610 | stac927x_cfg_tbl); | 5611 | stac927x_cfg_tbl); |
5611 | again: | 5612 | again: |
5612 | if (spec->board_config < 0) | 5613 | if (spec->board_config < 0) |
5613 | snd_printdd(KERN_INFO "hda_codec: Unknown model for" | 5614 | snd_printdd(KERN_INFO "hda_codec: %s: BIOS auto-probing.\n", |
5614 | "STAC927x, using BIOS defaults\n"); | 5615 | codec->chip_name); |
5615 | else | 5616 | else |
5616 | stac92xx_set_config_regs(codec, | 5617 | stac92xx_set_config_regs(codec, |
5617 | stac927x_brd_tbl[spec->board_config]); | 5618 | stac927x_brd_tbl[spec->board_config]); |
@@ -5738,7 +5739,8 @@ static int patch_stac9205(struct hda_codec *codec) | |||
5738 | stac9205_cfg_tbl); | 5739 | stac9205_cfg_tbl); |
5739 | again: | 5740 | again: |
5740 | if (spec->board_config < 0) | 5741 | if (spec->board_config < 0) |
5741 | snd_printdd(KERN_INFO "hda_codec: Unknown model for STAC9205, using BIOS defaults\n"); | 5742 | snd_printdd(KERN_INFO "hda_codec: %s: BIOS auto-probing.\n", |
5743 | codec->chip_name); | ||
5742 | else | 5744 | else |
5743 | stac92xx_set_config_regs(codec, | 5745 | stac92xx_set_config_regs(codec, |
5744 | stac9205_brd_tbl[spec->board_config]); | 5746 | stac9205_brd_tbl[spec->board_config]); |
@@ -5890,8 +5892,8 @@ static int patch_stac9872(struct hda_codec *codec) | |||
5890 | stac9872_models, | 5892 | stac9872_models, |
5891 | stac9872_cfg_tbl); | 5893 | stac9872_cfg_tbl); |
5892 | if (spec->board_config < 0) | 5894 | if (spec->board_config < 0) |
5893 | snd_printdd(KERN_INFO "hda_codec: Unknown model for STAC9872, " | 5895 | snd_printdd(KERN_INFO "hda_codec: %s: BIOS auto-probing.\n", |
5894 | "using BIOS defaults\n"); | 5896 | codec->chip_name); |
5895 | else | 5897 | else |
5896 | stac92xx_set_config_regs(codec, | 5898 | stac92xx_set_config_regs(codec, |
5897 | stac9872_brd_tbl[spec->board_config]); | 5899 | stac9872_brd_tbl[spec->board_config]); |