/* ac97 interface Wait for the ac97 serial bus to be free. return nonzero if the bus is still busy.  */
static int snd_m3_ac97_wait(struct snd_m3 *chip)
/* ac97 interface Wait for the ac97 serial bus to be free. return nonzero if the bus is still busy.  */
static int snd_m3_ac97_wait(struct snd_m3 *chip)
{
	int i = 10000;
	do {
		if (! (snd_m3_inb(chip, 0x30) & 1))
			return 0;
		cpu_relax();
	} while (i-- > 0);
	snd_printk(KERN_ERR "ac97 serial bus busy\n");
	return 1;
}