1941 |
udelay(100); |
udelay(100); |
1942 |
if (lifeboat++ > POLL_COUNT) { |
if (lifeboat++ > POLL_COUNT) { |
1943 |
printk(KERN_ERR "vortex: ac97 codec stuck busy\n"); |
printk(KERN_ERR "vortex: ac97 codec stuck busy\n"); |
1944 |
spin_lock_irqsave(&card->lock, flags); |
spin_unlock_irqrestore(&card->lock, flags); |
1945 |
return; |
return; |
1946 |
} |
} |
1947 |
} |
} |
1956 |
udelay(100); |
udelay(100); |
1957 |
if (lifeboat++ > POLL_COUNT) { |
if (lifeboat++ > POLL_COUNT) { |
1958 |
printk(KERN_ERR "vortex: ac97 codec stuck busy\n"); |
printk(KERN_ERR "vortex: ac97 codec stuck busy\n"); |
1959 |
spin_lock_irqsave(&card->lock, flags); |
spin_unlock_irqrestore(&card->lock, flags); |
1960 |
return; |
return; |
1961 |
} |
} |
1962 |
} |
} |
1981 |
udelay(100); |
udelay(100); |
1982 |
if (lifeboat++ > POLL_COUNT) { |
if (lifeboat++ > POLL_COUNT) { |
1983 |
printk(KERN_ERR "vortex: ac97 codec stuck busy\n"); |
printk(KERN_ERR "vortex: ac97 codec stuck busy\n"); |
1984 |
spin_lock_irqsave(&card->lock, flags); |
spin_unlock_irqrestore(&card->lock, flags); |
1985 |
return 0xffff; |
return 0xffff; |
1986 |
} |
} |
1987 |
} |
} |
1996 |
udelay(100); |
udelay(100); |
1997 |
if (lifeboat++ > POLL_COUNT) { |
if (lifeboat++ > POLL_COUNT) { |
1998 |
printk(KERN_ERR "vortex: ac97 address never arrived\n"); |
printk(KERN_ERR "vortex: ac97 address never arrived\n"); |
1999 |
spin_lock_irqsave(&card->lock, flags); |
spin_unlock_irqrestore(&card->lock, flags); |
2000 |
return 0xffff; |
return 0xffff; |
2001 |
} |
} |
2002 |
} |
} |