Commit 5a4b55e2 authored by Stefan Ringel's avatar Stefan Ringel Committed by Mauro Carvalho Chehab

V4L/DVB: tm6000: bugfix stabilizing urb data

Signed-off-by: default avatarStefan Ringel <stefan.ringel@arcor.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 4b6ed9fd
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
#define TM6000_MIN_BUF 4 #define TM6000_MIN_BUF 4
#define TM6000_DEF_BUF 8 #define TM6000_DEF_BUF 8
#define TM6000_MAX_ISO_PACKETS 40 /* Max number of ISO packets */ #define TM6000_MAX_ISO_PACKETS 46 /* Max number of ISO packets */
/* Declare static vars that will be used as parameters */ /* Declare static vars that will be used as parameters */
static unsigned int vid_limit = 16; /* Video memory limit, in Mb */ static unsigned int vid_limit = 16; /* Video memory limit, in Mb */
...@@ -620,7 +620,7 @@ static void tm6000_uninit_isoc(struct tm6000_core *dev) ...@@ -620,7 +620,7 @@ static void tm6000_uninit_isoc(struct tm6000_core *dev)
static int tm6000_prepare_isoc(struct tm6000_core *dev, unsigned int framesize) static int tm6000_prepare_isoc(struct tm6000_core *dev, unsigned int framesize)
{ {
struct tm6000_dmaqueue *dma_q = &dev->vidq; struct tm6000_dmaqueue *dma_q = &dev->vidq;
int i, j, sb_size, pipe, size, max_packets, num_bufs = 5; int i, j, sb_size, pipe, size, max_packets, num_bufs = 8;
struct urb *urb; struct urb *urb;
/* De-allocates all pending stuff */ /* De-allocates all pending stuff */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment