X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=sound%2Fppc%2Fburgundy.c;h=45a76297c38d2224abd7fee9b3994f04fd2b2dcf;hb=bc2fd381d8f9dbeb181f82286cdca1567e3d0def;hp=f860d39af36b39e91fafe4ceb33be28b9d5b7167;hpb=886c35fbcf6fb2eee15687efc2d64d99b6ad9a4a;p=karo-tx-linux.git 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) 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"); }