Ignore:
Timestamp:
Jan 23, 2007, 10:34:32 PM (19 years ago)
Author:
vladest
Message:

Added missed files
Applied latest modifications of ALSA
Reworked sharing strategy between MMOS2 and UNIAUD API

File:
1 edited

Legend:

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

    r77 r86  
    22942294    /* put logic to right state */
    22952295    /* first clear status bits */
    2296 #if 1 // noone do it. wtf? //vladest 06.10.2003 13:51
    22972296    status = ICH_RCS | ICH_MCINT | ICH_POINT | ICH_PIINT;
    22982297    if (chip->device_type == DEVICE_NFORCE)
     
    23002299    cnt = igetdword(chip, ICHREG(GLOB_STA));
    23012300    iputdword(chip, ICHREG(GLOB_STA), cnt & status);
    2302 #endif
    2303     // hmm. at least we should try
    2304     //iputdword(chip, ICHREG(GLOB_CNT), igetdword(chip, ICHREG(GLOB_CNT)) & ~ICH_AC97COLD);
    23052301    /* ACLink on, 2 channels */
    23062302    cnt = igetdword(chip, ICHREG(GLOB_CNT));
    2307     // added by vladest
    23082303    //    cnt &= ~ICH_ACLINK;
    23092304    cnt &= ~(ICH_ACLINK | ICH_PCM_246_MASK);
    2310 #ifdef CONFIG_SND_AC97_POWER_SAVE
     2305#if 0
     2306    //def CONFIG_SND_AC97_POWER_SAVE
    23112307    /* do cold reset - the full ac97 powerdown may leave the controller
    23122308     * in a warm state but actually it cannot communicate with the codec.
     
    23192315#else
    23202316    cnt |= (cnt & ICH_AC97COLD) == 0 ? ICH_AC97COLD : ICH_AC97WARM;
    2321 
    2322     //  ??? 25.03.2004 by vladest  cnt &= ~(ICH_ACLINK | ICH_PCM_246_MASK);
    2323     // FIXME!!! cmi drivers didnt uses ICH_PCM_246_MASK
    23242317    /* finish cold or do warm reset */
    23252318#ifdef DEBUG
     
    23272320#endif
    23282321    iputdword(chip, ICHREG(GLOB_CNT), cnt);
    2329 //    mdelay(500); //vladest 06.10.2003 15:08
     2322    mdelay(500); //vladest 06.10.2003 15:08
    23302323    end_time = (jiffies + (HZ / 4)) + 1;
    23312324    i = 0;
Note: See TracChangeset for help on using the changeset viewer.