The camera driver reduced all IO drivers from their reset defaults of
6 mA to only 2 mA, which caused severe signal distortion at higher
speeds. This patch sets them to 8 mA and also removes apparently
useless repetitions of the setting.

Note that the correct setting of the I2C pullups still needs to be
verified.

Signed-off-by: Werner Almesberger <wer...@openmoko.org>

---

Index: cam/drivers/media/video/samsung/4xa_sensor.h
===================================================================
--- cam.orig/drivers/media/video/samsung/4xa_sensor.h   2009-03-07 
22:18:38.000000000 +0800
+++ cam/drivers/media/video/samsung/4xa_sensor.h        2009-03-07 
22:26:10.000000000 +0800
@@ -223,14 +223,8 @@
        {0x62,0x0a},    // Mirror Option
 
        {0xfc,0x02},
-       {0x4e,0x00},    // IO current 8mA set
-       {0x4e,0x00},    // IO current 8mA set
-       {0x4e,0x00},    // IO current 8mA set
-       {0x4e,0x00},    // IO current 8mA set
-       {0x4f,0x0a},    // 2a IO current 48mA set
-       {0x4f,0x0a},    // IO current 48mA set
-       {0x4f,0x0a},    // IO current 48mA set
-       {0x4f,0x0a},    // IO current 48mA set
+       {0x4e,0x1b},    // Enable SDA and SCL pull-up; drive 8 mA
+       {0x4f,0xf0},    // PCLK and YC: 8 mA, AF and ZM (AZ): 2 mA
 
        {0xfc,0x01},
        {0x0c,0x03},    // Full YC Enable

Reply via email to