diff options
author | Jean-François Moine <moinejf@free.fr> | 2010-04-25 13:33:31 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 11:58:14 -0400 |
commit | 0a85c74b5d48f6cb41770ec3951a582738446b33 (patch) | |
tree | ce3262536f8aba54964526dc3dc06fa89743843e /drivers/media/video/gspca/sonixj.c | |
parent | fff2f708f8838c9be0099d32ed1739e9aa42af6f (diff) |
V4L/DVB: gspca - sonixj: Adjust minor values of sensor ov7630. - set the color gains to null at init time - change value of register 0x9a
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/sonixj.c')
-rw-r--r-- | drivers/media/video/gspca/sonixj.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c index 612c5419c950..a4ca3c11c429 100644 --- a/drivers/media/video/gspca/sonixj.c +++ b/drivers/media/video/gspca/sonixj.c | |||
@@ -442,7 +442,7 @@ static const u8 sn_om6802[0x1c] = { | |||
442 | 442 | ||
443 | static const u8 sn_ov7630[0x1c] = { | 443 | static const u8 sn_ov7630[0x1c] = { |
444 | /* reg0 reg1 reg2 reg3 reg4 reg5 reg6 reg7 */ | 444 | /* reg0 reg1 reg2 reg3 reg4 reg5 reg6 reg7 */ |
445 | 0x00, 0x21, 0x40, 0x00, 0x1a, 0x20, 0x1f, 0x20, | 445 | 0x00, 0x21, 0x40, 0x00, 0x1a, 0x00, 0x00, 0x00, |
446 | /* reg8 reg9 rega regb regc regd rege regf */ | 446 | /* reg8 reg9 rega regb regc regd rege regf */ |
447 | 0x81, 0x21, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | 447 | 0x81, 0x21, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
448 | /* reg10 reg11 reg12 reg13 reg14 reg15 reg16 reg17 */ | 448 | /* reg10 reg11 reg12 reg13 reg14 reg15 reg16 reg17 */ |
@@ -2315,6 +2315,7 @@ static int sd_start(struct gspca_dev *gspca_dev) | |||
2315 | case SENSOR_MT9V111: | 2315 | case SENSOR_MT9V111: |
2316 | reg_w1(gspca_dev, 0x9a, 0x07); | 2316 | reg_w1(gspca_dev, 0x9a, 0x07); |
2317 | break; | 2317 | break; |
2318 | case SENSOR_OV7630: | ||
2318 | case SENSOR_OV7648: | 2319 | case SENSOR_OV7648: |
2319 | reg_w1(gspca_dev, 0x9a, 0x0a); | 2320 | reg_w1(gspca_dev, 0x9a, 0x0a); |
2320 | break; | 2321 | break; |