snd_printk("codec_read %d: semaphore is not ready for register 0x%x\n", ac97->num, reg); 
snd_printk(KERN_ERR "codec_read %d: semaphore is not ready for register 0x%x\n", ac97->num, reg); 
static unsigned short snd_intel8x0_codec_read(ac97_t *ac97,					      unsigned short reg){	intel8x0_t *chip = ac97->private_data;	unsigned short res;	unsigned int tmp;	if (snd_intel8x0m_codec_semaphore(chip, ac97->num) < 0) {		if (! chip->in_ac97_init)			snd_printk("codec_read %d: semaphore is not ready for register 0x%x\n", ac97->num, reg);		res = 0xffff;	} else {		res = iagetword(chip, reg + ac97->num * 0x80);		if ((tmp = igetdword(chip, ICHREG(GLOB_STA))) & ICH_RCS) {			/* reset RCS and preserve other R/WC bits */			iputdword(chip, ICHREG(GLOB_STA), tmp & ~(ICH_SRI|ICH_PRI|ICH_TRI|ICH_GSCI));			if (! chip->in_ac97_init)				snd_printk("codec_read %d: read timeout for register 0x%x\n", ac97->num, reg);			res = 0xffff;		}	}	if (reg == AC97_GPIO_STATUS)		iagetword(chip, 0); /* clear semaphore */	return res;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/99b359ba10a582148c6725f428a33ba5356dd993/intel8x0m.c/buggy/sound/pci/intel8x0m.c