]> git.baikalelectronics.ru Git - kernel.git/commit
[media] em28xx: ignore isoc DVB USB endpoints with wMaxPacketSize = 0 bytes for all...
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Wed, 27 Mar 2013 19:07:41 +0000 (16:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 28 Mar 2013 21:39:44 +0000 (18:39 -0300)
commite111ccb1545ab7fb73f201955c4221c07905a60f
treef1ce5f038ea212167e46009d5d78cf1f291df411
parent11dcf2c080a65b6de9d06895b87f58987c5f14ad
[media] em28xx: ignore isoc DVB USB endpoints with wMaxPacketSize = 0 bytes for all alt settings

Some devices without DVB support (such as the "Terratec Grabby" and
"Easycap DC-60") provide isochronous DVB USB endpoints with wMaxPacketSize set
to 0 bytes for all alt settings.
Ignore these endpoints and avoid registering a DVB device node and loading the
DVB driver extension.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Tested-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/em28xx/em28xx-cards.c