[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)
commit72cc9ba39a046132a638888eaa5a14baf55621b2
treef1ce5f038ea212167e46009d5d78cf1f291df411
parentb41869711586b047c18435ba84baf334918bae01
[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