aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-05-26 09:19:56 -0400
committerTakashi Iwai <tiwai@suse.de>2009-05-26 09:19:56 -0400
commit20e91c575088337cb94f2ed48380efc305dcb81d (patch)
tree06372adbd912b53b93e6ab6b5fdc22cb94317f69
parent86d190e77c44cb057742dcc871b12ebd4633c387 (diff)
parent461c6c3a0a23a8fac1a4b636e93ff5dfe599a241 (diff)
Merge branch 'fix/hda' into topic/hda
-rw-r--r--Documentation/sound/alsa/HD-Audio-Models.txt1
-rw-r--r--sound/pci/hda/hda_intel.c1
-rw-r--r--sound/pci/hda/patch_realtek.c7
-rw-r--r--sound/pci/hda/patch_sigmatel.c10
4 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/sound/alsa/HD-Audio-Models.txt b/Documentation/sound/alsa/HD-Audio-Models.txt
index ebb444d5282..818d06f54e3 100644
--- a/Documentation/sound/alsa/HD-Audio-Models.txt
+++ b/Documentation/sound/alsa/HD-Audio-Models.txt
@@ -342,6 +342,7 @@ STAC9227/9228/9229/927x
342 ref-no-jd Reference board without HP/Mic jack detection 342 ref-no-jd Reference board without HP/Mic jack detection
343 3stack D965 3stack 343 3stack D965 3stack
344 5stack D965 5stack + SPDIF 344 5stack D965 5stack + SPDIF
345 5stack-no-fp D965 5stack without front panel
345 dell-3stack Dell Dimension E520 346 dell-3stack Dell Dimension E520
346 dell-bios Fixes with Dell BIOS setup 347 dell-bios Fixes with Dell BIOS setup
347 auto BIOS setup (default) 348 auto BIOS setup (default)
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 3fc75e2061a..82d5218a012 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -2147,6 +2147,7 @@ static struct snd_pci_quirk probe_mask_list[] __devinitdata = {
2147 /* including bogus ALC268 in slot#2 that conflicts with ALC888 */ 2147 /* including bogus ALC268 in slot#2 that conflicts with ALC888 */
2148 SND_PCI_QUIRK(0x17c0, 0x4085, "Medion MD96630", 0x01), 2148 SND_PCI_QUIRK(0x17c0, 0x4085, "Medion MD96630", 0x01),
2149 /* forced codec slots */ 2149 /* forced codec slots */
2150 SND_PCI_QUIRK(0x1043, 0x1262, "ASUS W5Fm", 0x103),
2150 SND_PCI_QUIRK(0x1046, 0x1262, "ASUS W5F", 0x103), 2151 SND_PCI_QUIRK(0x1046, 0x1262, "ASUS W5F", 0x103),
2151 {} 2152 {}
2152}; 2153};
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index b942019461a..add920a925c 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -789,6 +789,12 @@ static void alc_set_input_pin(struct hda_codec *codec, hda_nid_t nid,
789 pincap = (pincap & AC_PINCAP_VREF) >> AC_PINCAP_VREF_SHIFT; 789 pincap = (pincap & AC_PINCAP_VREF) >> AC_PINCAP_VREF_SHIFT;
790 if (pincap & AC_PINCAP_VREF_80) 790 if (pincap & AC_PINCAP_VREF_80)
791 val = PIN_VREF80; 791 val = PIN_VREF80;
792 else if (pincap & AC_PINCAP_VREF_50)
793 val = PIN_VREF50;
794 else if (pincap & AC_PINCAP_VREF_100)
795 val = PIN_VREF100;
796 else if (pincap & AC_PINCAP_VREF_GRD)
797 val = PIN_VREFGRD;
792 } 798 }
793 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_PIN_WIDGET_CONTROL, val); 799 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_PIN_WIDGET_CONTROL, val);
794} 800}
@@ -12041,6 +12047,7 @@ static struct snd_pci_quirk alc268_cfg_tbl[] = {
12041 SND_PCI_QUIRK(0x1028, 0x0253, "Dell OEM", ALC268_DELL), 12047 SND_PCI_QUIRK(0x1028, 0x0253, "Dell OEM", ALC268_DELL),
12042 SND_PCI_QUIRK(0x1028, 0x02b0, "Dell Inspiron Mini9", ALC268_DELL), 12048 SND_PCI_QUIRK(0x1028, 0x02b0, "Dell Inspiron Mini9", ALC268_DELL),
12043 SND_PCI_QUIRK(0x103c, 0x30cc, "TOSHIBA", ALC268_TOSHIBA), 12049 SND_PCI_QUIRK(0x103c, 0x30cc, "TOSHIBA", ALC268_TOSHIBA),
12050 SND_PCI_QUIRK(0x103c, 0x30f1, "HP TX25xx series", ALC268_TOSHIBA),
12044 SND_PCI_QUIRK(0x1043, 0x1205, "ASUS W7J", ALC268_3ST), 12051 SND_PCI_QUIRK(0x1043, 0x1205, "ASUS W7J", ALC268_3ST),
12045 SND_PCI_QUIRK(0x1179, 0xff10, "TOSHIBA A205", ALC268_TOSHIBA), 12052 SND_PCI_QUIRK(0x1179, 0xff10, "TOSHIBA A205", ALC268_TOSHIBA),
12046 SND_PCI_QUIRK(0x1179, 0xff50, "TOSHIBA A305", ALC268_TOSHIBA), 12053 SND_PCI_QUIRK(0x1179, 0xff50, "TOSHIBA A305", ALC268_TOSHIBA),
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 26d8707173b..a1b4c9496d4 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -151,6 +151,7 @@ enum {
151 STAC_D965_REF, 151 STAC_D965_REF,
152 STAC_D965_3ST, 152 STAC_D965_3ST,
153 STAC_D965_5ST, 153 STAC_D965_5ST,
154 STAC_D965_5ST_NO_FP,
154 STAC_DELL_3ST, 155 STAC_DELL_3ST,
155 STAC_DELL_BIOS, 156 STAC_DELL_BIOS,
156 STAC_927X_MODELS 157 STAC_927X_MODELS
@@ -2261,6 +2262,13 @@ static unsigned int d965_5st_pin_configs[14] = {
2261 0x40000100, 0x40000100 2262 0x40000100, 0x40000100
2262}; 2263};
2263 2264
2265static unsigned int d965_5st_no_fp_pin_configs[14] = {
2266 0x40000100, 0x40000100, 0x0181304e, 0x01014010,
2267 0x01a19040, 0x01011012, 0x01016011, 0x40000100,
2268 0x40000100, 0x40000100, 0x40000100, 0x01442070,
2269 0x40000100, 0x40000100
2270};
2271
2264static unsigned int dell_3st_pin_configs[14] = { 2272static unsigned int dell_3st_pin_configs[14] = {
2265 0x02211230, 0x02a11220, 0x01a19040, 0x01114210, 2273 0x02211230, 0x02a11220, 0x01a19040, 0x01114210,
2266 0x01111212, 0x01116211, 0x01813050, 0x01112214, 2274 0x01111212, 0x01116211, 0x01813050, 0x01112214,
@@ -2273,6 +2281,7 @@ static unsigned int *stac927x_brd_tbl[STAC_927X_MODELS] = {
2273 [STAC_D965_REF] = ref927x_pin_configs, 2281 [STAC_D965_REF] = ref927x_pin_configs,
2274 [STAC_D965_3ST] = d965_3st_pin_configs, 2282 [STAC_D965_3ST] = d965_3st_pin_configs,
2275 [STAC_D965_5ST] = d965_5st_pin_configs, 2283 [STAC_D965_5ST] = d965_5st_pin_configs,
2284 [STAC_D965_5ST_NO_FP] = d965_5st_no_fp_pin_configs,
2276 [STAC_DELL_3ST] = dell_3st_pin_configs, 2285 [STAC_DELL_3ST] = dell_3st_pin_configs,
2277 [STAC_DELL_BIOS] = NULL, 2286 [STAC_DELL_BIOS] = NULL,
2278}; 2287};
@@ -2283,6 +2292,7 @@ static const char *stac927x_models[STAC_927X_MODELS] = {
2283 [STAC_D965_REF] = "ref", 2292 [STAC_D965_REF] = "ref",
2284 [STAC_D965_3ST] = "3stack", 2293 [STAC_D965_3ST] = "3stack",
2285 [STAC_D965_5ST] = "5stack", 2294 [STAC_D965_5ST] = "5stack",
2295 [STAC_D965_5ST_NO_FP] = "5stack-no-fp",
2286 [STAC_DELL_3ST] = "dell-3stack", 2296 [STAC_DELL_3ST] = "dell-3stack",
2287 [STAC_DELL_BIOS] = "dell-bios", 2297 [STAC_DELL_BIOS] = "dell-bios",
2288}; 2298};