From 2f67951c3dc3baea7ec8860b427b87d54507c742 Mon Sep 17 00:00:00 2001 From: Bansidhar Gopalachari Date: Wed, 2 Jan 2013 13:35:07 -0800 Subject: [PATCH] msm:camera:: Enabled af & rs_cs stats Change-Id: Ibe7eb0c278b5c07c965e540c825b9691b7220f3b Signed-off-by: Bansidhar Gopalachari --- drivers/media/video/msm/vfe/msm_vfe32.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/drivers/media/video/msm/vfe/msm_vfe32.c b/drivers/media/video/msm/vfe/msm_vfe32.c index 17887791a010..94463fa36f48 100755 --- a/drivers/media/video/msm/vfe/msm_vfe32.c +++ b/drivers/media/video/msm/vfe/msm_vfe32.c @@ -1037,7 +1037,6 @@ static void vfe32_set_default_reg_values( CDBG("%s: Use bayer stats = %d\n", __func__, vfe32_use_bayer_stats(vfe32_ctrl)); if (!vfe32_use_bayer_stats(vfe32_ctrl)) { -#if 1 msm_camera_io_w(0x3980007, vfe32_ctrl->share_ctrl->vfebase + VFE_BUS_STATS_AEC_BG_UB_CFG); @@ -1056,23 +1055,6 @@ static void vfe32_set_default_reg_values( msm_camera_io_w(0x3E0001F, vfe32_ctrl->share_ctrl->vfebase + VFE_BUS_STATS_HIST_UB_CFG); -#else //PIP roll-off changes - msm_camera_io_w(0x3C00007, - vfe32_ctrl->share_ctrl->vfebase + - VFE_BUS_STATS_AEC_BG_UB_CFG); - - msm_camera_io_w(0x3C8000F, - vfe32_ctrl->share_ctrl->vfebase + - VFE_BUS_STATS_AWB_UB_CFG); - - msm_camera_io_w(0x3D80007, - vfe32_ctrl->share_ctrl->vfebase + - VFE_BUS_STATS_RS_UB_CFG); - - msm_camera_io_w(0x3E0001F, - vfe32_ctrl->share_ctrl->vfebase + - VFE_BUS_STATS_HIST_UB_CFG); -#endif } else { msm_camera_io_w(0x350001F, vfe32_ctrl->share_ctrl->vfebase +