Fix gain documentation on Driver

This commit is contained in:
dchvs 2021-04-05 08:31:27 -06:00
parent 7d7bad60d3
commit a324c5b05e
1 changed files with 4 additions and 4 deletions

View File

@ -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;