diff options
Diffstat (limited to 'sound/ppc')
-rw-r--r-- | sound/ppc/burgundy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/ppc/burgundy.c b/sound/ppc/burgundy.c index 45a76297c38d..d2c0a4e987ae 100644 --- a/sound/ppc/burgundy.c +++ b/sound/ppc/burgundy.c | |||
@@ -46,12 +46,12 @@ snd_pmac_burgundy_extend_wait(struct snd_pmac *chip) | |||
46 | timeout = 50; | 46 | timeout = 50; |
47 | while (!(in_le32(&chip->awacs->codec_stat) & MASK_EXTEND) && timeout--) | 47 | while (!(in_le32(&chip->awacs->codec_stat) & MASK_EXTEND) && timeout--) |
48 | udelay(1); | 48 | udelay(1); |
49 | if (! timeout) | 49 | if (timeout < 0) |
50 | printk(KERN_DEBUG "burgundy_extend_wait: timeout #1\n"); | 50 | printk(KERN_DEBUG "burgundy_extend_wait: timeout #1\n"); |
51 | timeout = 50; | 51 | timeout = 50; |
52 | while ((in_le32(&chip->awacs->codec_stat) & MASK_EXTEND) && timeout--) | 52 | while ((in_le32(&chip->awacs->codec_stat) & MASK_EXTEND) && timeout--) |
53 | udelay(1); | 53 | udelay(1); |
54 | if (! timeout) | 54 | if (timeout < 0) |
55 | printk(KERN_DEBUG "burgundy_extend_wait: timeout #2\n"); | 55 | printk(KERN_DEBUG "burgundy_extend_wait: timeout #2\n"); |
56 | } | 56 | } |
57 | 57 | ||