Commit 2cadcd3c authored by Sebastian Krzyszkowiak's avatar Sebastian Krzyszkowiak Committed by Dorota Czaplejewicz
Browse files

s5k3l6xx: Update digital gain control range

S5K3L6XX_Application Note_REV0.20 specifies digital gain to be
in range of 1.0x (0x100) to 3.0x (0x300).
parent ee55f5c8
Pipeline #68454 passed with stage
in 67 minutes and 56 seconds
......@@ -911,8 +911,9 @@ static int s5k3l6xx_initialize_ctrls(struct s5k3l6xx *state)
ctrls->analog_gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_ANALOGUE_GAIN,
0x20, 0x200, 1, 0x20);
// Digital gain range: 1.0x - 3.0x
ctrls->digital_gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_DIGITAL_GAIN,
0x84, 0x300, 1, 0x100);
0x100, 0x300, 1, 0x100);
v4l2_ctrl_new_std_menu_items(hdl, ops, V4L2_CID_TEST_PATTERN,
ARRAY_SIZE(s5k3l6_test_pattern_menu) - 1,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment