X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fcifs-2.6.git;a=blobdiff_plain;f=sound%2Fppc%2Fburgundy.c;h=16ed240e423cfc5ebdb3da1272915e24f0a9c509;hp=bb80770890c702d33c5137c689d5d372d0518e09;hb=1282c824cc4ad5b43fc1813e7ea564c0d6f0d046;hpb=82ced6fd28653ab456c3e5b25e9ef3c1c96cd6e9 diff --git a/sound/ppc/burgundy.c b/sound/ppc/burgundy.c index bb80770890c7..16ed240e423c 100644 --- a/sound/ppc/burgundy.c +++ b/sound/ppc/burgundy.c @@ -46,12 +46,12 @@ snd_pmac_burgundy_extend_wait(struct snd_pmac *chip) timeout = 50; while (!(in_le32(&chip->awacs->codec_stat) & MASK_EXTEND) && timeout--) udelay(1); - if (! timeout) + if (timeout < 0) printk(KERN_DEBUG "burgundy_extend_wait: timeout #1\n"); timeout = 50; while ((in_le32(&chip->awacs->codec_stat) & MASK_EXTEND) && timeout--) udelay(1); - if (! timeout) + if (timeout < 0) printk(KERN_DEBUG "burgundy_extend_wait: timeout #2\n"); }