Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81585
b: refs/heads/master
c: f11b799
h: refs/heads/master
i:
  81583: ca70db1
v: v3
  • Loading branch information
Julia Lawall authored and Jaroslav Kysela committed Jan 31, 2008
1 parent 0639276 commit 24973df
Show file tree
Hide file tree
Showing 3 changed files with 5 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: 1bc9eed379399484d3f5d5a0834674983969bc1e
refs/heads/master: f11b799282201fbd8c88b51815176a902b1f15b8
3 changes: 2 additions & 1 deletion trunk/sound/drivers/serial-u16550.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
#include <sound/initval.h>

#include <linux/serial_reg.h>
#include <linux/jiffies.h>

#include <asm/io.h>

Expand Down Expand Up @@ -694,7 +695,7 @@ static void snd_uart16550_output_write(struct snd_rawmidi_substream *substream)
(uart->adaptor == SNDRV_SERIAL_SOUNDCANVAS ||
uart->adaptor == SNDRV_SERIAL_GENERIC) &&
(uart->prev_out != substream->number ||
jiffies-lasttime > 3*HZ)) {
time_after(jiffies, lasttime + 3*HZ))) {

if (snd_uart16550_buffer_can_write(uart, 3)) {
/* Roland Soundcanvas part selection */
Expand Down
3 changes: 2 additions & 1 deletion trunk/sound/soc/s3c24xx/s3c24xx-i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <linux/device.h>
#include <linux/delay.h>
#include <linux/clk.h>
#include <linux/jiffies.h>
#include <sound/driver.h>
#include <sound/core.h>
#include <sound/pcm.h>
Expand Down Expand Up @@ -185,7 +186,7 @@ static int s3c24xx_snd_lrsync(void)
if (iiscon & S3C2410_IISCON_LRINDEX)
break;

if (timeout < jiffies)
if (time_after(jiffies, timeout))
return -ETIMEDOUT;
}

Expand Down

0 comments on commit 24973df

Please sign in to comment.