[media] uvcvideo: Delay initialization of XU controls
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 29 Sep 2010 19:03:03 +0000 (16:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:18:24 +0000 (01:18 -0200)
commit52c58ad6f95ff60343bf0c517182d5f649ca0403
treeba5e136941f806d340bee2d0fe2b76deed4cb01c
parent071c8bb827c80a68510a1cdb7e8bebbda1a494d6
[media] uvcvideo: Delay initialization of XU controls

XU controls initialization requires querying the device for control
information. As some buggy UVC devices will crash when queried
repeatedly in a tight loop, delay XU controls initialization until first
use.

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