.. | .. |
---|
1942 | 1942 | * "ov5640_set_stream_mipi()") |
---|
1943 | 1943 | * [4] = 0 : Power up MIPI HS Tx |
---|
1944 | 1944 | * [3] = 0 : Power up MIPI LS Rx |
---|
1945 | | - * [2] = 0 : MIPI interface disabled |
---|
| 1945 | + * [2] = 1 : MIPI interface enabled |
---|
1946 | 1946 | */ |
---|
1947 | | - ret = ov5640_write_reg(sensor, OV5640_REG_IO_MIPI_CTRL00, 0x40); |
---|
| 1947 | + ret = ov5640_write_reg(sensor, OV5640_REG_IO_MIPI_CTRL00, 0x44); |
---|
1948 | 1948 | if (ret) |
---|
1949 | 1949 | return ret; |
---|
1950 | 1950 | |
---|
.. | .. |
---|
2748 | 2748 | /* Auto/manual gain */ |
---|
2749 | 2749 | ctrls->auto_gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_AUTOGAIN, |
---|
2750 | 2750 | 0, 1, 1, 1); |
---|
2751 | | - ctrls->gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_GAIN, |
---|
| 2751 | + ctrls->gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_ANALOGUE_GAIN, |
---|
2752 | 2752 | 0, 1023, 1, 0); |
---|
2753 | 2753 | |
---|
2754 | 2754 | ctrls->saturation = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_SATURATION, |
---|