diff options
Diffstat (limited to 'sound/ppc/burgundy.c')
-rw-r--r-- | sound/ppc/burgundy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/ppc/burgundy.c b/sound/ppc/burgundy.c index f860d39af36b..45a76297c38d 100644 --- a/sound/ppc/burgundy.c +++ b/sound/ppc/burgundy.c | |||
@@ -35,7 +35,7 @@ snd_pmac_burgundy_busy_wait(struct snd_pmac *chip) | |||
35 | int timeout = 50; | 35 | int timeout = 50; |
36 | while ((in_le32(&chip->awacs->codec_ctrl) & MASK_NEWECMD) && timeout--) | 36 | while ((in_le32(&chip->awacs->codec_ctrl) & MASK_NEWECMD) && timeout--) |
37 | udelay(1); | 37 | udelay(1); |
38 | if (! timeout) | 38 | if (timeout < 0) |
39 | printk(KERN_DEBUG "burgundy_busy_wait: timeout\n"); | 39 | printk(KERN_DEBUG "burgundy_busy_wait: timeout\n"); |
40 | } | 40 | } |
41 | 41 | ||