Fix gain documentation on Driver
This commit is contained in:
parent
7d7bad60d3
commit
a324c5b05e
|
@ -409,11 +409,11 @@ static int mt9m021_set_gain(struct tegracam_device *tc_dev, s64 val)
|
|||
*
|
||||
* gain accepts mapping from range 32 - 255
|
||||
*
|
||||
* SCALE FACTOR = 3
|
||||
* SCALE FACTOR = 3125
|
||||
*
|
||||
* min_gain_val = 96
|
||||
* max_gain_val = 765
|
||||
* gain_factor = 3
|
||||
* min_gain_val = 100000
|
||||
* max_gain_val = 796875
|
||||
* gain_factor = 3125
|
||||
*
|
||||
*/
|
||||
gain = val / 3125;
|
||||
|
|
Loading…
Reference in New Issue