V4L/DVB (5720): Usbvision: fix urb allocation and submits
authorThierry Merle <thierry.merle@free.fr>
Sun, 27 May 2007 20:21:17 +0000 (17:21 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 8 Jun 2007 11:21:14 +0000 (08:21 -0300)
commitfe818d1d9a50930aa7e1ce7169fb42e1e0c45882
tree2ef3db4ce37192940d9f35d82f1b654dd21f3ea6
parentc6604150ab04aaaf98baf1ddca2e9e4f7d3da4d3
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>
drivers/media/video/usbvision/usbvision-core.c
drivers/media/video/usbvision/usbvision.h