aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Ringel <stefan.ringel@arcor.de>2010-05-19 12:58:27 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-06-01 00:22:02 -0400
commit5a4b55e2c256d78fd86679ee00777c393c87c94a (patch)
tree23c647bcabeef261970bd937e30580176af30513
parent4b6ed9fd0baf34da6912bebee46c36eda0411984 (diff)
V4L/DVB: tm6000: bugfix stabilizing urb data
Signed-off-by: Stefan Ringel <stefan.ringel@arcor.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/staging/tm6000/tm6000-video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/tm6000/tm6000-video.c b/drivers/staging/tm6000/tm6000-video.c
index 8acfebdb5cda..56fa371e08c8 100644
--- a/drivers/staging/tm6000/tm6000-video.c
+++ b/drivers/staging/tm6000/tm6000-video.c
@@ -48,7 +48,7 @@
48#define TM6000_MIN_BUF 4 48#define TM6000_MIN_BUF 4
49#define TM6000_DEF_BUF 8 49#define TM6000_DEF_BUF 8
50 50
51#define TM6000_MAX_ISO_PACKETS 40 /* Max number of ISO packets */ 51#define TM6000_MAX_ISO_PACKETS 46 /* Max number of ISO packets */
52 52
53/* Declare static vars that will be used as parameters */ 53/* Declare static vars that will be used as parameters */
54static unsigned int vid_limit = 16; /* Video memory limit, in Mb */ 54static unsigned int vid_limit = 16; /* Video memory limit, in Mb */
@@ -620,7 +620,7 @@ static void tm6000_uninit_isoc(struct tm6000_core *dev)
620static int tm6000_prepare_isoc(struct tm6000_core *dev, unsigned int framesize) 620static int tm6000_prepare_isoc(struct tm6000_core *dev, unsigned int framesize)
621{ 621{
622 struct tm6000_dmaqueue *dma_q = &dev->vidq; 622 struct tm6000_dmaqueue *dma_q = &dev->vidq;
623 int i, j, sb_size, pipe, size, max_packets, num_bufs = 5; 623 int i, j, sb_size, pipe, size, max_packets, num_bufs = 8;
624 struct urb *urb; 624 struct urb *urb;
625 625
626 /* De-allocates all pending stuff */ 626 /* De-allocates all pending stuff */