View | Details | Raw Unified | Return to bug 115837
Collapse All | Expand All

(-)linux/sound/pci/intel8x0.c (-1 / +4 lines)
Lines 529-542 Link Here
529
		udelay(10);
529
		udelay(10);
530
	} while (time--);
530
	} while (time--);
531
531
532
#if 0
532
	/* access to some forbidden (non existant) ac97 registers will not
533
	/* access to some forbidden (non existant) ac97 registers will not
533
	 * reset the semaphore. So even if you don't get the semaphore, still
534
	 * reset the semaphore. So even if you don't get the semaphore, still
534
	 * continue the access. We don't need the semaphore anyway. */
535
	 * continue the access. We don't need the semaphore anyway. */
535
	snd_printk("codec_semaphore: semaphore is not ready [0x%x][0x%x]\n",
536
	snd_printk("codec_semaphore: semaphore is not ready [0x%x][0x%x]\n",
536
			igetbyte(chip, ICHREG(ACC_SEMA)), igetdword(chip, ICHREG(GLOB_STA)));
537
			igetbyte(chip, ICHREG(ACC_SEMA)), igetdword(chip, ICHREG(GLOB_STA)));
538
#endif
537
	iagetword(chip, 0);	/* clear semaphore flag */
539
	iagetword(chip, 0);	/* clear semaphore flag */
538
	/* I don't care about the semaphore */
540
	/* I don't care about the semaphore */
539
	return -EBUSY;
541
	// return -EBUSY;
542
	return 0;
540
}
543
}
541
 
544
 
542
static void snd_intel8x0_codec_write(ac97_t *ac97,
545
static void snd_intel8x0_codec_write(ac97_t *ac97,

Return to bug 115837