Commit 5a4b55e2c256d78fd86679ee00777c393c87c94a
Committed by
Mauro Carvalho Chehab
1 parent
4b6ed9fd0b
Exists in
master
and in
7 other branches
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>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
drivers/staging/tm6000/tm6000-video.c
... | ... | @@ -48,7 +48,7 @@ |
48 | 48 | #define TM6000_MIN_BUF 4 |
49 | 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 | 53 | /* Declare static vars that will be used as parameters */ |
54 | 54 | static unsigned int vid_limit = 16; /* Video memory limit, in Mb */ |
... | ... | @@ -620,7 +620,7 @@ |
620 | 620 | static int tm6000_prepare_isoc(struct tm6000_core *dev, unsigned int framesize) |
621 | 621 | { |
622 | 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 | 624 | struct urb *urb; |
625 | 625 | |
626 | 626 | /* De-allocates all pending stuff */ |