diff options
author | Erik Andrén <erik.andren@gmail.com> | 2009-04-27 14:41:45 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 17:20:49 -0400 |
commit | 7b8265033d3ca5425e4fbdb77f9ccd3375f3f117 (patch) | |
tree | ad3c61439ccf5627ebe273eebf6b200b350457e8 | |
parent | 52fa70b7f448da8b763e8c2f566d309d7399a20b (diff) |
V4L/DVB (11649): gspca - m5602: Probe the ov7660 sensor
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_core.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_core.c b/drivers/media/video/gspca/m5602/m5602_core.c index 8ca5643f2c7a..36bdcda8417e 100644 --- a/drivers/media/video/gspca/m5602/m5602_core.c +++ b/drivers/media/video/gspca/m5602/m5602_core.c | |||
@@ -17,6 +17,7 @@ | |||
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include "m5602_ov9650.h" | 19 | #include "m5602_ov9650.h" |
20 | #include "m5602_ov7660.h" | ||
20 | #include "m5602_mt9m111.h" | 21 | #include "m5602_mt9m111.h" |
21 | #include "m5602_po1030.h" | 22 | #include "m5602_po1030.h" |
22 | #include "m5602_s5k83a.h" | 23 | #include "m5602_s5k83a.h" |
@@ -217,6 +218,11 @@ static int m5602_probe_sensor(struct sd *sd) | |||
217 | if (!sd->sensor->probe(sd)) | 218 | if (!sd->sensor->probe(sd)) |
218 | return 0; | 219 | return 0; |
219 | 220 | ||
221 | /* Try the ov7660 */ | ||
222 | sd->sensor = &ov7660; | ||
223 | if (!sd->sensor->probe(sd)) | ||
224 | return 0; | ||
225 | |||
220 | /* Try the s5k83a */ | 226 | /* Try the s5k83a */ |
221 | sd->sensor = &s5k83a; | 227 | sd->sensor = &s5k83a; |
222 | if (!sd->sensor->probe(sd)) | 228 | if (!sd->sensor->probe(sd)) |