e result is 0.
This patch adds a new function which does the gain calculation and also fixes
the same bug for red_balance and blue_balance. Additionally, the driver follows
the recommendation from the datasheet, which says, that the gain should always
be above 0x0020.
Signed-off-by: Johannes
out by logging the i2c-data, that the windows driver for this sensor is doing
this, too.
I tested the camera on a sunny day and after adjusting the exposure time, I was
able to see a very good image.
Signed-off-by: Johannes Obermaier
---
drivers/media/video/mt9v011.c | 22
According to the datasheet (page 8), the first optical clear pixel-column is
not at position 14. The correct/recommended value is 20. Without this patch
there is a dark line on the left side of the image.
Signed-off-by: Johannes Obermaier
---
drivers/media/video/mt9v011.c |2 +-
1 files
According to the datasheet (page 8), the first optical clear pixel-column is
not at position 14. The correct/recommended value is 20. Without this patch
there is a dark line on the left side of the image.
Signed-off-by: Johannes Obermaier
---
drivers/media/video/mt9v011.c |2 +-
1 files