From 7bfa17654fac0095d7af0a438dda33953ba78352 Mon Sep 17 00:00:00 2001 From: Roel Kluin Date: Thu, 4 Jun 2009 01:53:21 +0200 Subject: [PATCH] --- yaml --- r: 148470 b: refs/heads/master c: 13be1bf1467e3186a4a9d1b1276cc4bd31e472ea h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/ppc/burgundy.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index f9c9cca07f13..ea4a33702154 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3f08a0e4ab1ce65bb882f6425ff482e5db025f78 +refs/heads/master: 13be1bf1467e3186a4a9d1b1276cc4bd31e472ea diff --git a/trunk/sound/ppc/burgundy.c b/trunk/sound/ppc/burgundy.c index 45a76297c38d..d2c0a4e987ae 100644 --- a/trunk/sound/ppc/burgundy.c +++ b/trunk/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"); }