Searched hist:"8 bf54c4321dd6c57d4117f425890e5c6d49c103a" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/media/i2c/ |
H A D | mt9p031.c | diff 8bf54c4321dd6c57d4117f425890e5c6d49c103a Wed May 07 17:34:34 CEST 2014 Laurent Pinchart <laurent.pinchart@ideasonboard.com> [media] mt9p031: Really disable Black Level Calibration in test pattern mode
The digital side of the Black Level Calibration (BLC) function must be disabled when generating a test pattern to avoid artifacts in the image. The driver disables BLC correctly at the hardware level, but the feature gets reenabled by v4l2_ctrl_handler_setup() the next time the device is powered on.
Fix this by marking the BLC controls as inactive when generating a test pattern, and ignoring control set requests on inactive controls.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|