summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/usbvision/usbvision.h
diff options
context:
space:
mode:
authorThierry Merle <thierry.merle@free.fr>2007-05-27 22:21:17 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-06-08 13:21:14 +0200
commitfe818d1d9a50930aa7e1ce7169fb42e1e0c45882 (patch)
tree2ef3db4ce37192940d9f35d82f1b654dd21f3ea6 /drivers/media/video/usbvision/usbvision.h
parentV4L/DVB (5716): Tda10086,tda826x: fix tuning, STR/SNR values (diff)
downloadlinux-fe818d1d9a50930aa7e1ce7169fb42e1e0c45882.tar.xz
linux-fe818d1d9a50930aa7e1ce7169fb42e1e0c45882.zip
V4L/DVB (5720): Usbvision: fix urb allocation and submits
- fixed the urb allocation part that was not taking into account the current alternate setting this fixes usb_submit_urb returning -90 errno in isocIrq. - fixed usb_submit_urb returning -1 errno in isocIrq (need to ignore usb urb with status==-ENOENT) Acked-by: Dwaine P. Garden <dwainegarden@rogers.com> Signed-off-by: Thierry Merle <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/usbvision/usbvision.h')
-rw-r--r--drivers/media/video/usbvision/usbvision.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/usbvision/usbvision.h b/drivers/media/video/usbvision/usbvision.h
index bd6f6422ed54..c759d00d7014 100644
--- a/drivers/media/video/usbvision/usbvision.h
+++ b/drivers/media/video/usbvision/usbvision.h
@@ -146,7 +146,6 @@
#define USBVISION_CLIPMASK_SIZE (MAX_FRAME_WIDTH * MAX_FRAME_HEIGHT / 8) //bytesize of clipmask
#define USBVISION_URB_FRAMES 32
-#define USBVISION_MAX_ISOC_PACKET_SIZE 959 // NT1003 Specs Document says 1023
#define USBVISION_NUM_HEADERMARKER 20
#define USBVISION_NUMFRAMES 3 /* Maximum number of frames an application can get */