aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-driver.c
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-11-08 12:19:37 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 06:38:03 -0500
commit330c6ec8942765e81f237bd58020da1b161935ce (patch)
tree110bdf6daf5f280a9f3159136caa47e48e5fbaef /drivers/media/video/cx18/cx18-driver.c
parentac50441720332f22a9d85ac03151d6acb7bc55d6 (diff)
V4L/DVB (9596): cx18: Further changes to improve mailbox protocol integrity & performnce
All waits for cx18 mailbox API commands are now uninterruptable. Added code to collect mailbox ack statistics. Tweaked timeouts based on collected stats and video vertical frame and field rates. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18/cx18-driver.c')
-rw-r--r--drivers/media/video/cx18/cx18-driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.c b/drivers/media/video/cx18/cx18-driver.c
index 3079e466e6e7..8ef11d578b8d 100644
--- a/drivers/media/video/cx18/cx18-driver.c
+++ b/drivers/media/video/cx18/cx18-driver.c
@@ -187,7 +187,7 @@ MODULE_VERSION(CX18_VERSION);
187/* Generic utility functions */ 187/* Generic utility functions */
188int cx18_msleep_timeout(unsigned int msecs, int intr) 188int cx18_msleep_timeout(unsigned int msecs, int intr)
189{ 189{
190 int timeout = msecs_to_jiffies(msecs); 190 long int timeout = msecs_to_jiffies(msecs);
191 int sig; 191 int sig;
192 192
193 do { 193 do {