aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/gspca/m5602/m5602_ov7660.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_ov7660.c b/drivers/media/video/gspca/m5602/m5602_ov7660.c
index 00f8365db1a1..7d2af089ee99 100644
--- a/drivers/media/video/gspca/m5602/m5602_ov7660.c
+++ b/drivers/media/video/gspca/m5602/m5602_ov7660.c
@@ -204,6 +204,16 @@ int ov7660_init(struct sd *sd)
204 204
205 err = ov7660_set_auto_white_balance(&sd->gspca_dev, 205 err = ov7660_set_auto_white_balance(&sd->gspca_dev,
206 sensor_settings[AUTO_WHITE_BALANCE_IDX]); 206 sensor_settings[AUTO_WHITE_BALANCE_IDX]);
207 if (err < 0)
208 return err;
209
210 err = ov7660_set_blue_gain(&sd->gspca_dev,
211 sensor_settings[BLUE_BALANCE_IDX]);
212 if (err < 0)
213 return err;
214
215 err = ov7660_set_red_gain(&sd->gspca_dev,
216 sensor_settings[RED_BALANCE_IDX]);
207 217
208 return err; 218 return err;
209} 219}