Skip to content

Commit

Permalink
V4L/DVB: tm6000: bugfix stabilizing urb data
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Ringel <stefan.ringel@arcor.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Stefan Ringel authored and Mauro Carvalho Chehab committed Jun 1, 2010
1 parent 4b6ed9f commit 5a4b55e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/tm6000/tm6000-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#define TM6000_MIN_BUF 4
#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 */
static unsigned int vid_limit = 16; /* Video memory limit, in Mb */
Expand Down Expand Up @@ -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)
{
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;

/* De-allocates all pending stuff */
Expand Down

0 comments on commit 5a4b55e

Please sign in to comment.