aboutsummaryrefslogtreecommitdiff
path: root/sound/ppc/burgundy.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-03-24 00:36:20 +0100
committerTakashi Iwai <tiwai@suse.de>2009-03-24 00:36:20 +0100
commitd7b6df5d1af11544401ca051aaf68b6e7f110c0e (patch)
tree9c155be7d0ad77115a10094ab2d71b88efee6ca3 /sound/ppc/burgundy.c
parent7df4f694356a125e4553ca35b215fd9e88e858c5 (diff)
parent39661758631da37efbc961e57a4ddefad573cc52 (diff)
Merge branch 'topic/powermac' into for-linus
Diffstat (limited to 'sound/ppc/burgundy.c')
-rw-r--r--sound/ppc/burgundy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/ppc/burgundy.c b/sound/ppc/burgundy.c
index f860d39af36..45a76297c38 100644
--- a/sound/ppc/burgundy.c
+++ b/sound/ppc/burgundy.c
@@ -35,7 +35,7 @@ snd_pmac_burgundy_busy_wait(struct snd_pmac *chip)
int timeout = 50;
while ((in_le32(&chip->awacs->codec_ctrl) & MASK_NEWECMD) && timeout--)
udelay(1);
- if (! timeout)
+ if (timeout < 0)
printk(KERN_DEBUG "burgundy_busy_wait: timeout\n");
}