Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148470
b: refs/heads/master
c: 13be1bf
h: refs/heads/master
v: v3
  • Loading branch information
Roel Kluin authored and Takashi Iwai committed Jun 3, 2009
1 parent 90cb85f commit 7bfa176
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3f08a0e4ab1ce65bb882f6425ff482e5db025f78
refs/heads/master: 13be1bf1467e3186a4a9d1b1276cc4bd31e472ea
4 changes: 2 additions & 2 deletions trunk/sound/ppc/burgundy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand Down

0 comments on commit 7bfa176

Please sign in to comment.