documentation: Fix gain equation on Driver
This commit is contained in:
parent
809d88dd93
commit
d4df26e9f9
|
@ -417,16 +417,15 @@ static int mt9m021_set_gain(struct tegracam_device *tc_dev, s64 val)
|
||||||
* Digital gain equation:
|
* Digital gain equation:
|
||||||
*
|
*
|
||||||
* RANGE: 1x, 7.97x
|
* RANGE: 1x, 7.97x
|
||||||
* GAIN: VAL / STEPS;
|
|
||||||
* STEPS: 1/32
|
* STEPS: 1/32
|
||||||
*
|
*
|
||||||
* SCALE FACTOR = 32
|
* SCALE FACTOR = 3
|
||||||
*
|
*
|
||||||
* min_gain_val = 100
|
* min_gain_val = 102
|
||||||
* max_gain_val = 762
|
* max_gain_val = 160
|
||||||
* gain_factor = 3
|
* gain_factor = 3
|
||||||
*
|
*
|
||||||
* gain maps to range 32 - 255
|
* gain accepts mapping to range 32 - 53
|
||||||
*/
|
*/
|
||||||
gain = val / 3;
|
gain = val / 3;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue