Changeset 86 for GPL/trunk/alsa-kernel/pci/intel8x0.c
- Timestamp:
- Jan 23, 2007, 10:34:32 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/pci/intel8x0.c
r77 r86 2294 2294 /* put logic to right state */ 2295 2295 /* first clear status bits */ 2296 #if 1 // noone do it. wtf? //vladest 06.10.2003 13:512297 2296 status = ICH_RCS | ICH_MCINT | ICH_POINT | ICH_PIINT; 2298 2297 if (chip->device_type == DEVICE_NFORCE) … … 2300 2299 cnt = igetdword(chip, ICHREG(GLOB_STA)); 2301 2300 iputdword(chip, ICHREG(GLOB_STA), cnt & status); 2302 #endif2303 // hmm. at least we should try2304 //iputdword(chip, ICHREG(GLOB_CNT), igetdword(chip, ICHREG(GLOB_CNT)) & ~ICH_AC97COLD);2305 2301 /* ACLink on, 2 channels */ 2306 2302 cnt = igetdword(chip, ICHREG(GLOB_CNT)); 2307 // added by vladest2308 2303 // cnt &= ~ICH_ACLINK; 2309 2304 cnt &= ~(ICH_ACLINK | ICH_PCM_246_MASK); 2310 #ifdef CONFIG_SND_AC97_POWER_SAVE 2305 #if 0 2306 //def CONFIG_SND_AC97_POWER_SAVE 2311 2307 /* do cold reset - the full ac97 powerdown may leave the controller 2312 2308 * in a warm state but actually it cannot communicate with the codec. … … 2319 2315 #else 2320 2316 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_MASK2324 2317 /* finish cold or do warm reset */ 2325 2318 #ifdef DEBUG … … 2327 2320 #endif 2328 2321 iputdword(chip, ICHREG(GLOB_CNT), cnt); 2329 //mdelay(500); //vladest 06.10.2003 15:082322 mdelay(500); //vladest 06.10.2003 15:08 2330 2323 end_time = (jiffies + (HZ / 4)) + 1; 2331 2324 i = 0;
Note:
See TracChangeset
for help on using the changeset viewer.