aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa5249.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/saa5249.c')
-rw-r--r--drivers/media/video/saa5249.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/saa5249.c b/drivers/media/video/saa5249.c
index f2a2f34cd626..17f1e2e9a66b 100644
--- a/drivers/media/video/saa5249.c
+++ b/drivers/media/video/saa5249.c
@@ -86,9 +86,9 @@ static const int disp_modes[8][3] =
86 86
87 87
88 88
89#define PAGE_WAIT (300*HZ/1000) /* Time between requesting page and */ 89#define PAGE_WAIT msecs_to_jiffies(300) /* Time between requesting page and */
90 /* checking status bits */ 90 /* checking status bits */
91#define PGBUF_EXPIRE (15*HZ) /* Time to wait before retransmitting */ 91#define PGBUF_EXPIRE msecs_to_jiffies(15000) /* Time to wait before retransmitting */
92 /* page regardless of infobits */ 92 /* page regardless of infobits */
93typedef struct { 93typedef struct {
94 u8 pgbuf[VTX_VIRTUALSIZE]; /* Page-buffer */ 94 u8 pgbuf[VTX_VIRTUALSIZE]; /* Page-buffer */
@@ -115,8 +115,8 @@ struct saa5249_device
115#define CCTWR 34 /* I²C write/read-address of vtx-chip */ 115#define CCTWR 34 /* I²C write/read-address of vtx-chip */
116#define CCTRD 35 116#define CCTRD 35
117#define NOACK_REPEAT 10 /* Retry access this many times on failure */ 117#define NOACK_REPEAT 10 /* Retry access this many times on failure */
118#define CLEAR_DELAY (HZ/20) /* Time required to clear a page */ 118#define CLEAR_DELAY msecs_to_jiffies(50) /* Time required to clear a page */
119#define READY_TIMEOUT (30*HZ/1000) /* Time to wait for ready signal of I²C-bus interface */ 119#define READY_TIMEOUT msecs_to_jiffies(30) /* Time to wait for ready signal of I2C-bus interface */
120#define INIT_DELAY 500 /* Time in usec to wait at initialization of CEA interface */ 120#define INIT_DELAY 500 /* Time in usec to wait at initialization of CEA interface */
121#define START_DELAY 10 /* Time in usec to wait before starting write-cycle (CEA) */ 121#define START_DELAY 10 /* Time in usec to wait before starting write-cycle (CEA) */
122 122