Ignore:
Timestamp:
Jul 23, 2006, 11:54:27 AM (19 years ago)
Author:
vladest
Message:

Provide sources to latest exist binary. See changelog for changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/pci/intel8x0.c

    r76 r77  
    18401840        {
    18411841            .subvendor = 0x1028,
     1842            .subdevice = 0x014e,
     1843            .name = "Dell D800", /* STAC9750/51 */
     1844            .type = AC97_TUNE_HP_ONLY
     1845        },
     1846        {
     1847                .subvendor = 0x1028,
    18421848                .subdevice = 0x0163,
    18431849                .name = "Dell Unknown", /* STAC9750/51 */
     
    19821988                .type = AC97_TUNE_HP_ONLY
    19831989        },
     1990        {
     1991            .subvendor = 0x10f1,
     1992            .subdevice = 0x2895,
     1993            .name = "Tyan Thunder K8WE",
     1994            .type = AC97_TUNE_HP_ONLY
     1995        },
    19841996        {
    19851997                .subvendor = 0x110a,
     
    22962308    //    cnt &= ~ICH_ACLINK;
    22972309    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
    22982320    cnt |= (cnt & ICH_AC97COLD) == 0 ? ICH_AC97COLD : ICH_AC97WARM;
    22992321
     
    23212343    return -EIO;
    23222344__ok:
     2345#endif /* CONFIG_SND_AC97_POWER_SAVE */
    23232346#ifdef DEBUG
    23242347    dprintf(("ICH chip init ACLink ON"));
     
    25422565    chip->irq = pci->irq;
    25432566    synchronize_irq(chip->irq);
    2544     snd_intel8x0_chip_init(chip, 1);
     2567    snd_intel8x0_chip_init(chip, 0);
    25452568    /* re-initialize mixer stuff */
    25462569    if (chip->device_type == DEVICE_INTEL_ICH4 ||
     
    26582681        chip->ac97_bus->clock = (chip->ac97_bus->clock * 48000) / pos;
    26592682    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);
    26602684}
    26612685
Note: See TracChangeset for help on using the changeset viewer.