From: Tuukka Toivonen Date: Wed, 7 Mar 2012 12:36:29 +0000 (+0200) Subject: ov8830: adjust manual white balance gains X-Git-Tag: 2.1b_release~1251 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fedcb9ef420c8a975fd3932d6280423bbc4f1ee6;p=kernel%2Fkernel-mfld-blackbay.git ov8830: adjust manual white balance gains BZ: 26645 Adjust white balance gains to red: 1.43 green: 1.0 blue: 1.56 Change-Id: I869f4ead72f0164be17d74c0f501ec6ac4972bea Signed-off-by: Tuukka Toivonen Reviewed-on: http://android.intel.com:8080/37842 Reviewed-by: Monroy, German Reviewed-by: Koski, Anttu Tested-by: Koski, Anttu Reviewed-by: buildbot Tested-by: buildbot --- diff --git a/drivers/media/video/ov8830.c b/drivers/media/video/ov8830.c index 1534b34..026c3d5 100644 --- a/drivers/media/video/ov8830.c +++ b/drivers/media/video/ov8830.c @@ -86,12 +86,12 @@ static const struct ov8830_reg ov8830_mode1[] = { { OV8830_8BIT, { 0x30b6 }, 0x01 }, /* PLL1_op_sys_div: 1 */ { OV8830_8BIT, { 0x3104 }, 0xa1 }, { OV8830_8BIT, { 0x3106 }, 0x01 }, - { OV8830_8BIT, { 0x3400 }, 0x04 }, - { OV8830_8BIT, { 0x3401 }, 0x00 }, + { OV8830_8BIT, { 0x3400 }, 0x05 }, + { OV8830_8BIT, { 0x3401 }, 0xB8 }, { OV8830_8BIT, { 0x3402 }, 0x04 }, { OV8830_8BIT, { 0x3403 }, 0x00 }, - { OV8830_8BIT, { 0x3404 }, 0x04 }, - { OV8830_8BIT, { 0x3405 }, 0x00 }, + { OV8830_8BIT, { 0x3404 }, 0x06 }, + { OV8830_8BIT, { 0x3405 }, 0x3D }, { OV8830_8BIT, { 0x3406 }, 0x01 }, { OV8830_8BIT, { 0x3500 }, 0x00 }, { OV8830_8BIT, { 0x3501 }, 0x7c }, @@ -364,12 +364,12 @@ static const struct ov8830_reg ov8830_mode_1600[] = { { OV8830_8BIT, { 0x3104 }, 0xA1 }, { OV8830_8BIT, { 0x3106 }, 0x01 }, { OV8830_8BIT, { 0x3300 }, 0x00 }, - { OV8830_8BIT, { 0x3400 }, 0x04 }, - { OV8830_8BIT, { 0x3401 }, 0x00 }, + { OV8830_8BIT, { 0x3400 }, 0x05 }, + { OV8830_8BIT, { 0x3401 }, 0xB8 }, { OV8830_8BIT, { 0x3402 }, 0x04 }, { OV8830_8BIT, { 0x3403 }, 0x00 }, - { OV8830_8BIT, { 0x3404 }, 0x04 }, - { OV8830_8BIT, { 0x3405 }, 0x00 }, + { OV8830_8BIT, { 0x3404 }, 0x06 }, + { OV8830_8BIT, { 0x3405 }, 0x3D }, { OV8830_8BIT, { 0x3406 }, 0x01 }, { OV8830_8BIT, { 0x3500 }, 0x00 }, { OV8830_8BIT, { 0x3501 }, 0x4C }, @@ -663,12 +663,12 @@ static const struct ov8830_reg ov8830_mode2[] = { { OV8830_8BIT, { 0x3104 }, 0xa1 }, { OV8830_8BIT, { 0x3106 }, 0x01 }, { OV8830_8BIT, { 0x3300 }, 0x00 }, - { OV8830_8BIT, { 0x3400 }, 0x04 }, - { OV8830_8BIT, { 0x3401 }, 0x00 }, + { OV8830_8BIT, { 0x3400 }, 0x05 }, + { OV8830_8BIT, { 0x3401 }, 0xB8 }, { OV8830_8BIT, { 0x3402 }, 0x04 }, { OV8830_8BIT, { 0x3403 }, 0x00 }, - { OV8830_8BIT, { 0x3404 }, 0x04 }, - { OV8830_8BIT, { 0x3405 }, 0x00 }, + { OV8830_8BIT, { 0x3404 }, 0x06 }, + { OV8830_8BIT, { 0x3405 }, 0x3D }, { OV8830_8BIT, { 0x3406 }, 0x01 }, { OV8830_8BIT, { 0x3500 }, 0x00 }, { OV8830_8BIT, { 0x3501 }, 0x9a },