]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4dac01ab279473cb3e7ef9699c77dafd6f95e778
tree2ef3db4ce37192940d9f35d82f1b654dd21f3ea6
parenta22f12b95acecb0643b7e82aad12eb460909a396
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