patch-2.2.0-pre8 linux/drivers/char/saa5249.c
Next file: linux/drivers/char/serial.c
Previous file: linux/drivers/char/rtc.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Jan 14 22:53:02 1999
- Orig file:
v2.2.0-pre7/linux/drivers/char/saa5249.c
- Orig date:
Thu Nov 12 16:21:19 1998
diff -u --recursive --new-file v2.2.0-pre7/linux/drivers/char/saa5249.c linux/drivers/char/saa5249.c
@@ -460,7 +460,7 @@
if (!(infobits[8] & 0x10) && !(infobits[7] & 0xf0) && /* check FOUND-bit */
(memcmp(infobits, t->vdau[req.pgbuf].laststat, sizeof(infobits)) ||
- jiffies >= t->vdau[req.pgbuf].expire))
+ time_after_eq(jiffies, t->vdau[req.pgbuf].expire)))
{ /* check if new page arrived */
if (i2c_senddata(t, CCTWR, 8, 0, 0, 0, -1) ||
i2c_getdata(t, CCTRD, VTX_PAGESIZE, t->vdau[req.pgbuf].pgbuf, FALSE))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov