The patch number 11649 was added via Erik Andr?n <erik.and...@gmail.com> to http://linuxtv.org/hg/v4l-dvb master development tree.
Kernel patches in this development tree may be modified to be backward compatible with older kernels. Compatibility modifications will be removed before inclusion into the mainstream Kernel If anyone has any objections, please let us know by sending a message to: Linux Media Mailing List <linux-me...@vger.kernel.org> ------ From: Erik Andr?n <erik.and...@gmail.com> gspca - m5602: Probe the ov7660 sensor Priority: normal Signed-off-by: Erik Andr?n <erik.and...@gmail.com> --- linux/drivers/media/video/gspca/m5602/m5602_core.c | 6 ++++++ 1 file changed, 6 insertions(+) diff -r 691059e537d7 -r f2af67ffab25 linux/drivers/media/video/gspca/m5602/m5602_core.c --- a/linux/drivers/media/video/gspca/m5602/m5602_core.c Wed Jan 28 08:02:49 2009 +0100 +++ b/linux/drivers/media/video/gspca/m5602/m5602_core.c Mon Apr 27 20:41:45 2009 +0200 @@ -17,6 +17,7 @@ */ #include "m5602_ov9650.h" +#include "m5602_ov7660.h" #include "m5602_mt9m111.h" #include "m5602_po1030.h" #include "m5602_s5k83a.h" @@ -214,6 +215,11 @@ static int m5602_probe_sensor(struct sd /* Try the ov9650 */ sd->sensor = &ov9650; + if (!sd->sensor->probe(sd)) + return 0; + + /* Try the ov7660 */ + sd->sensor = &ov7660; if (!sd->sensor->probe(sd)) return 0; --- Patch is available at: http://linuxtv.org/hg/v4l-dvb/rev/f2af67ffab257ae9c9a6b0151b426dce1353d102 _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits