From: Alan Young <ayoung@teleport.com> Date: Mon, 26 Jul 2010 11:50:32 +0000 (-0300) Subject: [media] hdpvr: decrease URB timeout to 90ms X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=39bcb3ae030b0b64262adf6c5243bf767d8b75dc;p=openwrt%2Fstaging%2Fblogic.git [media] hdpvr: decrease URB timeout to 90ms Based on USB traces of the windows driver. Signed-off-by: Janne Grunau <j@jannau.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> --- diff --git a/drivers/media/video/hdpvr/hdpvr-video.c b/drivers/media/video/hdpvr/hdpvr-video.c index 761d7c5764d0..d38fe1043e47 100644 --- a/drivers/media/video/hdpvr/hdpvr-video.c +++ b/drivers/media/video/hdpvr/hdpvr-video.c @@ -26,7 +26,7 @@ #include <media/v4l2-ioctl.h> #include "hdpvr.h" -#define BULK_URB_TIMEOUT 1250 /* 1.25 seconds */ +#define BULK_URB_TIMEOUT 90 /* 0.09 seconds */ #define print_buffer_status() { \ v4l2_dbg(MSG_BUFFER, hdpvr_debug, &dev->v4l2_dev, \