[PATCH 3/3] V4L/DVB: mt9v011: Fixed gain calculation

2011-06-02 Thread Johannes Obermaier
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

[PATCH 2/2] V4L/DVB: mt9v011: Added exposure for mt9v011

2011-06-02 Thread Johannes Obermaier
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

[PATCH 1/1] V4L/DVB: mt9v011: Fixed incorrect value for the first valid column

2011-06-02 Thread Johannes Obermaier
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

[PATCH 1/1] V4L/DVB: mt9v011: Fixed incorrect value for the first valid column

2011-06-02 Thread Johannes Obermaier
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