diff --git a/drivers/media/video/gc0329.c b/drivers/media/video/gc0329.c index fc557e0c9446..c0926f9b0055 100644 --- a/drivers/media/video/gc0329.c +++ b/drivers/media/video/gc0329.c @@ -458,10 +458,30 @@ static struct rk_sensor_reg sensor_init_data[] ={ {0xa7, 0x00}, {0xfe, 0x00}, - ////////////////////asde /////////////////// - {0xa0, 0xaf}, - {0xa2, 0xff}, - +//////////////////// flicker /////////////////// + {0x05, 0x02}, + {0x06, 0x2c}, + {0x07, 0x00}, + {0x08, 0xb8}, + + {0xfe, 0x01}, + {0x29, 0x00}, //anti-flicker step [11:8] + {0x2a, 0x60}, //anti-flicker step [7:0] + + {0x2b, 0x02}, //exp level 0 14.28fps + {0x2c, 0xa0}, + {0x2d, 0x02}, //exp level 1 12.50fps + {0x2e, 0xa0}, + {0x2f, 0x02}, //exp level 2 10.00fps + {0x30, 0xa0}, + {0x31, 0x02}, //exp level 3 7.14fps + {0x32, 0xa0}, + {0x33, 0x20}, + {0xfe, 0x00}, +////////////////////asde /////////////////// + {0xa0, 0xaf}, + {0xa2, 0xff}, + {0x44, 0xa2}, // YUV order SensorEnd diff --git a/drivers/media/video/gc2145.c b/drivers/media/video/gc2145.c index fd426975bc08..dd5e04654bf9 100644 --- a/drivers/media/video/gc2145.c +++ b/drivers/media/video/gc2145.c @@ -132,7 +132,7 @@ static struct rk_sensor_reg sensor_init_data[] = { {0x0f, 0x06}, {0x10, 0x52}, {0x12, 0x2e}, - {0x17, 0x14}, //mirror + {0x17, 0x17}, //mirror {0x18, 0x22}, {0x19, 0x0e}, {0x1a, 0x01}, @@ -810,12 +810,12 @@ static struct rk_sensor_reg sensor_init_data[] = { {0x27, 0x04}, {0x28, 0xe2}, //20fps - {0x29, 0x07}, - {0x2a, 0xd0}, //14fps - {0x2b, 0x09}, - {0x2c, 0xc4}, //12fps - {0x2d, 0x0b}, - {0x2e, 0xb8}, //8fps + {0x29, 0x04}, + {0x2a, 0xe2}, //14fps + {0x2b, 0x04}, + {0x2c, 0xe2}, //12fps + {0x2d, 0x04}, + {0x2e, 0xe2}, //8fps {0xfe, 0x00}, //SENSORDB("GC2145_Sensor_SVGA"},