Changeset 528 for GPL/trunk/alsa-kernel/pci
- Timestamp:
- Jul 25, 2010, 7:16:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/pci/hda/patch_sigmatel.c
r464 r528 547 547 548 548 static hda_nid_t stac9200_pin_nids[8] = { 549 0x08, 0x09, 0x0d, 0x0e, 549 0x08, 0x09, 0x0d, 0x0e, 550 550 0x0f, 0x10, 0x11, 0x12, 551 551 }; 552 552 553 553 static hda_nid_t stac925x_pin_nids[8] = { 554 0x07, 0x08, 0x0a, 0x0b, 554 0x07, 0x08, 0x0a, 0x0b, 555 555 0x0c, 0x0d, 0x10, 0x11, 556 556 }; … … 1410 1410 */ 1411 1411 static unsigned int dell9200_d21_pin_configs[8] = { 1412 0x400001f0, 0x400001f1, 0x02214030, 0x01014010, 1412 0x400001f0, 0x400001f1, 0x02214030, 0x01014010, 1413 1413 0x02a19020, 0x01a19021, 0x90100140, 0x01813122, 1414 1414 }; 1415 1415 1416 /* 1416 /* 1417 1417 STAC 9200 pin configs for 1418 1418 102801C0 … … 1420 1420 */ 1421 1421 static unsigned int dell9200_d22_pin_configs[8] = { 1422 0x400001f0, 0x400001f1, 0x0221401f, 0x01014010, 1422 0x400001f0, 0x400001f1, 0x0221401f, 0x01014010, 1423 1423 0x01813020, 0x02a19021, 0x90100140, 0x400001f2, 1424 1424 }; 1425 1425 1426 /* 1426 /* 1427 1427 STAC 9200 pin configs for 1428 1428 102801C4 (Dell Dimension E310) … … 1434 1434 */ 1435 1435 static unsigned int dell9200_d23_pin_configs[8] = { 1436 0x400001f0, 0x400001f1, 0x0221401f, 0x01014010, 1437 0x01813020, 0x01a19021, 0x90100140, 0x400001f2, 1438 }; 1439 1440 1441 /* 1436 0x400001f0, 0x400001f1, 0x0221401f, 0x01014010, 1437 0x01813020, 0x01a19021, 0x90100140, 0x400001f2, 1438 }; 1439 1440 1441 /* 1442 1442 STAC 9200-32 pin configs for 1443 1443 102801B5 (Dell Inspiron 630m) … … 1449 1449 }; 1450 1450 1451 /* 1451 /* 1452 1452 STAC 9200-32 pin configs for 1453 1453 102801C2 (Dell Latitude D620) 1454 102801C8 1454 102801C8 1455 1455 102801CC (Dell Latitude D820) 1456 102801D4 1457 102801D6 1456 102801D4 1457 102801D6 1458 1458 */ 1459 1459 static unsigned int dell9200_m22_pin_configs[8] = { 1460 0x40c003fa, 0x0144131f, 0x0321121f, 0x90170310, 1460 0x40c003fa, 0x0144131f, 0x0321121f, 0x90170310, 1461 1461 0x90a70321, 0x03a11020, 0x401003fb, 0x40f000fc, 1462 1462 }; 1463 1463 1464 /* 1464 /* 1465 1465 STAC 9200-32 pin configs for 1466 1466 102801CE (Dell XPS M1710) … … 1473 1473 1474 1474 /* 1475 STAC 9200-32 pin configs for 1475 STAC 9200-32 pin configs for 1476 1476 102801C9 1477 1477 102801CA … … 1480 1480 */ 1481 1481 static unsigned int dell9200_m24_pin_configs[8] = { 1482 0x40c003fa, 0x404003fb, 0x0321121f, 0x90170310, 1483 0x408003fc, 0x03a11020, 0x401003fd, 0x403003fe, 1482 0x40c003fa, 0x404003fb, 0x0321121f, 0x90170310, 1483 0x408003fc, 0x03a11020, 0x401003fd, 0x403003fe, 1484 1484 }; 1485 1485 … … 1491 1491 */ 1492 1492 static unsigned int dell9200_m25_pin_configs[8] = { 1493 0x40c003fa, 0x01441340, 0x0421121f, 0x90170310, 1493 0x40c003fa, 0x01441340, 0x0421121f, 0x90170310, 1494 1494 0x408003fb, 0x04a11020, 0x401003fc, 0x403003fd, 1495 1495 }; … … 1501 1501 */ 1502 1502 static unsigned int dell9200_m26_pin_configs[8] = { 1503 0x40c003fa, 0x404003fb, 0x0421121f, 0x90170310, 1503 0x40c003fa, 0x404003fb, 0x0421121f, 0x90170310, 1504 1504 0x408003fc, 0x04a11020, 0x401003fd, 0x403003fe, 1505 1505 }; … … 1963 1963 static unsigned int dell_922x_m81_pin_configs[10] = { 1964 1964 0x0321101f, 0x01112024, 0x01111222, 0x91174220, 1965 0x03a11050, 0x01116221, 0x90a70330, 0x01452340, 1965 0x03a11050, 0x01116221, 0x90a70330, 0x01452340, 1966 1966 0x40C003f1, 0x405003f0, 1967 1967 }; … … 1972 1972 */ 1973 1973 static unsigned int dell_922x_m82_pin_configs[10] = { 1974 0x02211211, 0x408103ff, 0x02a1123e, 0x90100310, 1975 0x408003f1, 0x0221121f, 0x03451340, 0x40c003f2, 1976 0x508003f3, 0x405003f4, 1974 0x02211211, 0x408103ff, 0x02a1123e, 0x90100310, 1975 0x408003f1, 0x0221121f, 0x03451340, 0x40c003f2, 1976 0x508003f3, 0x405003f4, 1977 1977 }; 1978 1978 … … 2162 2162 SND_PCI_QUIRK_MASK(0x1019, 0xf000, 0x2000, 2163 2163 "ECS/PC chips", STAC_ECS_202), 2164 SND_PCI_QUIRK(0x107b, 0x6051, "eMachines T5226", STAC_D945_REF), 2164 2165 {0} /* terminator */ 2165 2166 }; … … 2167 2168 static unsigned int ref927x_pin_configs[14] = { 2168 2169 0x02214020, 0x02a19080, 0x0181304e, 0x01014010, 2169 0x01a19040, 0x01011012, 0x01016011, 0x0101201f, 2170 0x01a19040, 0x01011012, 0x01016011, 0x0101201f, 2170 2171 0x183301f0, 0x18a001f0, 0x18a001f0, 0x01442070, 2171 2172 0x01c42190, 0x40000100, … … 2622 2623 struct sigmatel_spec *spec = codec->spec; 2623 2624 int nid = kcontrol->private_value; 2624 2625 2625 2626 spec->hp_switch = ucontrol->value.integer.value[0] ? nid : 0; 2626 2627 … … 4631 4632 spec->eapd_mask); 4632 4633 } 4633 } 4634 } 4634 4635 4635 4636 /* return non-zero if the hp-pin of the given array index isn't … … 4710 4711 * So, it's basically a problem of default pin configs, likely a BIOS issue. 4711 4712 * But, disabling the code below just works around it, and I'm too tired of 4712 * bug reports with such devices... 4713 * bug reports with such devices... 4713 4714 */ 4714 4715 else … … 4716 4717 #endif /* FIXME */ 4717 4718 } 4718 } 4719 } 4719 4720 4720 4721 static void stac_toggle_power_map(struct hda_codec *codec, hda_nid_t nid, … … 4870 4871 { 4871 4872 if (nid == codec->afg) 4872 snd_iprintf(buffer, "Power-Map: 0x%02x\n", 4873 snd_iprintf(buffer, "Power-Map: 0x%02x\n", 4873 4874 snd_hda_codec_read(codec, nid, 0, 0x0fec, 0x0)); 4874 4875 }
Note:
See TracChangeset
for help on using the changeset viewer.