diff options
| author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-05-07 12:34:34 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-05-23 14:53:31 -0300 |
| commit | 8bf54c4321dd6c57d4117f425890e5c6d49c103a (patch) | |
| tree | 7bc2ae1eaf5721848d2ef791b7a6083956a325e5 /net/lapb/lapb_subr.c | |
| parent | 536954f1e9b26a135c17e6a8a03f2a40a069df27 (diff) | |
[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>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
