The patch number 11638 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-ov7660: Make an educated guess on the proper hsync/vsync


Based on how the ov9650 is configured, make an educated guess on the 
hsync/vsync setup for the ov7660

Priority: normal

Signed-off-by: Erik Andr?n <erik.and...@gmail.com>


---

 linux/drivers/media/video/gspca/m5602/m5602_ov7660.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -r d552016de926 -r c404fc2bd021 
linux/drivers/media/video/gspca/m5602/m5602_ov7660.h
--- a/linux/drivers/media/video/gspca/m5602/m5602_ov7660.h      Wed Jan 21 
17:43:20 2009 +0100
+++ b/linux/drivers/media/video/gspca/m5602/m5602_ov7660.h      Wed Jan 21 
17:46:58 2009 +0100
@@ -335,7 +335,7 @@ static const unsigned char init_ov7660[]
        {BRIDGE, M5602_XB_VSYNC_PARA, 0x00},
        {BRIDGE, M5602_XB_VSYNC_PARA, 0x00},
        {BRIDGE, M5602_XB_VSYNC_PARA, 0x01},
-       {BRIDGE, M5602_XB_VSYNC_PARA, 0xec}, /* 492 */
+       {BRIDGE, M5602_XB_VSYNC_PARA, 0xe0}, /* 480 */
        {BRIDGE, M5602_XB_VSYNC_PARA, 0x00},
        {BRIDGE, M5602_XB_VSYNC_PARA, 0x00},
        {BRIDGE, M5602_XB_SIG_INI, 0x00},
@@ -343,7 +343,7 @@ static const unsigned char init_ov7660[]
        {BRIDGE, M5602_XB_VSYNC_PARA, 0x00},
        {BRIDGE, M5602_XB_VSYNC_PARA, 0x27}, /* 39 */
        {BRIDGE, M5602_XB_VSYNC_PARA, 0x02},
-       {BRIDGE, M5602_XB_VSYNC_PARA, 0xae}, /* 686 */
+       {BRIDGE, M5602_XB_VSYNC_PARA, 0xa7}, /* 679 */
        {BRIDGE, M5602_XB_SIG_INI, 0x00},
 
        {SENSOR, OV7660_BLUE_GAIN, 0x80},


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/c404fc2bd021cc836ef6dcc17395f05fe7ff3d53

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to