]> git.baikalelectronics.ru Git - kernel.git/commit
[media] em28xx: save isoc endpoint number for DVB only if endpoint has alt settings...
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Mon, 8 Apr 2013 16:06:59 +0000 (13:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Apr 2013 12:51:23 +0000 (09:51 -0300)
commitf77b49d5c969b36285c9800b59d6edcc66c7a570
treefa2633e81026c5e4a2f8f664eb2ce107e0cef481
parent000c0795235339b27e4a71f977af6c98c71affb4
[media] em28xx: save isoc endpoint number for DVB only if endpoint has alt settings with xMaxPacketSize != 0

X-Patchwork-Delegate: mchehab@redhat.com
In addition to commit 75b39b2a "em28xx: ignore isoc DVB USB endpoints with
wMaxPacketSize = 0 bytes for all alt settings" we should not save the endpoint
number of the isoc DVB endpoint before it has been validated.
While the current code works fine, dev->dvb_ep_isoc != 0 could be interpreted
as indicator that the device provides DVB support.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/em28xx/em28xx-cards.c