[media] uvcvideo: Ignore entities for terminals with no supported format
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 28 Jun 2011 21:17:48 +0000 (18:17 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 1 Jul 2011 02:18:13 +0000 (23:18 -0300)
commita96aa5342d575980e5b572cde88036f3a878ebee
treeb6da16dbf0f2bb9f76533ae5faf24f6eff343dff
parentc064b8eac8da5d494fd221f14219c4f39502deb2
[media] uvcvideo: Ignore entities for terminals with no supported format

If a streaming interface has no supported format, the driver won't
create a video device for the associated terminal. Fix an oops by
ignoring that terminal when creating links between entities.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/uvc/uvc_entity.c