diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-07-17 08:37:57 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 06:27:28 -0400 |
commit | 1ff1e48442188b9ae68aef82b66baef89e988cf6 (patch) | |
tree | 4b1275d04ca4f49b0a495450736ee69783840b2c /drivers/media/video | |
parent | d87616f5a5af028d399f2c3e14c3115c67e415cf (diff) |
V4L/DVB (8369): gspca: Bad initialization of sn9c102 ov7630.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/gspca/sonixb.c | 2 | ||||
-rw-r--r-- | drivers/media/video/gspca/vc032x.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/gspca/sonixb.c b/drivers/media/video/gspca/sonixb.c index 045ed6b7d053..f1b16d4451f2 100644 --- a/drivers/media/video/gspca/sonixb.c +++ b/drivers/media/video/gspca/sonixb.c | |||
@@ -938,7 +938,7 @@ static void sd_start(struct gspca_dev *gspca_dev) | |||
938 | case SENSOR_OV7630: | 938 | case SENSOR_OV7630: |
939 | reg01 = 0x06; | 939 | reg01 = 0x06; |
940 | reg17 = 0x29; | 940 | reg17 = 0x29; |
941 | l = 0x10; | 941 | l = sizeof initOv7630; |
942 | break; | 942 | break; |
943 | case SENSOR_OV7630_3: | 943 | case SENSOR_OV7630_3: |
944 | reg01 = 0x44; | 944 | reg01 = 0x44; |
diff --git a/drivers/media/video/gspca/vc032x.c b/drivers/media/video/gspca/vc032x.c index dd7c1389f38d..fcf2c9e32573 100644 --- a/drivers/media/video/gspca/vc032x.c +++ b/drivers/media/video/gspca/vc032x.c | |||
@@ -925,14 +925,14 @@ static const __u8 ov7660_initQVGA_data[][4] = { | |||
925 | {0xb8, 0x8f, 0xff, 0xcc}, /* ff */ | 925 | {0xb8, 0x8f, 0xff, 0xcc}, /* ff */ |
926 | {0x00, 0x29, 0x3c, 0xaa}, | 926 | {0x00, 0x29, 0x3c, 0xaa}, |
927 | {0xb3, 0x01, 0x45, 0xcc}, /* 45 */ | 927 | {0xb3, 0x01, 0x45, 0xcc}, /* 45 */ |
928 | {0x00, 0x00, 0x00, 0x00} | 928 | {} |
929 | }; | 929 | }; |
930 | 930 | ||
931 | static const __u8 ov7660_50HZ[][4] = { | 931 | static const __u8 ov7660_50HZ[][4] = { |
932 | {0x00, 0x3b, 0x08, 0xaa}, | 932 | {0x00, 0x3b, 0x08, 0xaa}, |
933 | {0x00, 0x9d, 0x40, 0xaa}, | 933 | {0x00, 0x9d, 0x40, 0xaa}, |
934 | {0x00, 0x13, 0xa7, 0xaa}, | 934 | {0x00, 0x13, 0xa7, 0xaa}, |
935 | {0x00, 0x00, 0x00, 0x00} | 935 | {} |
936 | }; | 936 | }; |
937 | 937 | ||
938 | static const __u8 ov7660_60HZ[][4] = { | 938 | static const __u8 ov7660_60HZ[][4] = { |