Changeset 77 for GPL/trunk/alsa-kernel/pci/intel8x0.c
- Timestamp:
- Jul 23, 2006, 11:54:27 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/pci/intel8x0.c
r76 r77 1840 1840 { 1841 1841 .subvendor = 0x1028, 1842 .subdevice = 0x014e, 1843 .name = "Dell D800", /* STAC9750/51 */ 1844 .type = AC97_TUNE_HP_ONLY 1845 }, 1846 { 1847 .subvendor = 0x1028, 1842 1848 .subdevice = 0x0163, 1843 1849 .name = "Dell Unknown", /* STAC9750/51 */ … … 1982 1988 .type = AC97_TUNE_HP_ONLY 1983 1989 }, 1990 { 1991 .subvendor = 0x10f1, 1992 .subdevice = 0x2895, 1993 .name = "Tyan Thunder K8WE", 1994 .type = AC97_TUNE_HP_ONLY 1995 }, 1984 1996 { 1985 1997 .subvendor = 0x110a, … … 2296 2308 // cnt &= ~ICH_ACLINK; 2297 2309 cnt &= ~(ICH_ACLINK | ICH_PCM_246_MASK); 2310 #ifdef CONFIG_SND_AC97_POWER_SAVE 2311 /* do cold reset - the full ac97 powerdown may leave the controller 2312 * in a warm state but actually it cannot communicate with the codec. 2313 */ 2314 iputdword(chip, ICHREG(GLOB_CNT), cnt & ~ICH_AC97COLD); 2315 cnt = igetdword(chip, ICHREG(GLOB_CNT)); 2316 udelay(10); 2317 iputdword(chip, ICHREG(GLOB_CNT), cnt | ICH_AC97COLD); 2318 msleep(1); 2319 #else 2298 2320 cnt |= (cnt & ICH_AC97COLD) == 0 ? ICH_AC97COLD : ICH_AC97WARM; 2299 2321 … … 2321 2343 return -EIO; 2322 2344 __ok: 2345 #endif /* CONFIG_SND_AC97_POWER_SAVE */ 2323 2346 #ifdef DEBUG 2324 2347 dprintf(("ICH chip init ACLink ON")); … … 2542 2565 chip->irq = pci->irq; 2543 2566 synchronize_irq(chip->irq); 2544 snd_intel8x0_chip_init(chip, 1);2567 snd_intel8x0_chip_init(chip, 0); 2545 2568 /* re-initialize mixer stuff */ 2546 2569 if (chip->device_type == DEVICE_INTEL_ICH4 || … … 2658 2681 chip->ac97_bus->clock = (chip->ac97_bus->clock * 48000) / pos; 2659 2682 printk(KERN_INFO "intel8x0: clocking to %d\n", chip->ac97_bus->clock); 2683 snd_ac97_update_power(chip->ac97[0], AC97_PCM_FRONT_DAC_RATE, 0); 2660 2684 } 2661 2685
Note:
See TracChangeset
for help on using the changeset viewer.