diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-02-23 09:19:17 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-22 05:51:48 -0400 |
commit | 4093a5c4a3f59cba1a085bbf87b6ffdddc5a443d (patch) | |
tree | 83cc5bb5236ecb4f7f702ce802f42bf79ec13b73 /drivers/media/video/uvc | |
parent | 38a66824d96de8aeeb915e6f46f0d3fe55828eb1 (diff) |
[media] uvcvideo: Fix descriptor parsing for video output devices
Commit 4057ac6ca9a77c4275b34b5925ab5c99557913b1
V4L/DVB (13505): uvcvideo: Refactor chain scan
broke output terminals parsing. Fix it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/uvc')
-rw-r--r-- | drivers/media/video/uvc/uvc_driver.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/media/video/uvc/uvc_driver.c b/drivers/media/video/uvc/uvc_driver.c index a1e9dfb52f69..6459b8cba223 100644 --- a/drivers/media/video/uvc/uvc_driver.c +++ b/drivers/media/video/uvc/uvc_driver.c | |||
@@ -1264,6 +1264,14 @@ static int uvc_scan_chain_entity(struct uvc_video_chain *chain, | |||
1264 | 1264 | ||
1265 | break; | 1265 | break; |
1266 | 1266 | ||
1267 | case UVC_OTT_VENDOR_SPECIFIC: | ||
1268 | case UVC_OTT_DISPLAY: | ||
1269 | case UVC_OTT_MEDIA_TRANSPORT_OUTPUT: | ||
1270 | if (uvc_trace_param & UVC_TRACE_PROBE) | ||
1271 | printk(" OT %d", entity->id); | ||
1272 | |||
1273 | break; | ||
1274 | |||
1267 | case UVC_TT_STREAMING: | 1275 | case UVC_TT_STREAMING: |
1268 | if (UVC_ENTITY_IS_ITERM(entity)) { | 1276 | if (UVC_ENTITY_IS_ITERM(entity)) { |
1269 | if (uvc_trace_param & UVC_TRACE_PROBE) | 1277 | if (uvc_trace_param & UVC_TRACE_PROBE) |