From f530fae1cbcdd48a4d0e10f30a8c7c3041e12bcf Mon Sep 17 00:00:00 2001 From: Shilpa Mamidi Date: Thu, 10 Mar 2016 20:17:41 +0530 Subject: [PATCH] msm: ispif: Remove CSID version check for ahb clock As part of open AHB clocks are currently enabled based on CSID version check. But CSID version is updated as part of INIT IOCTL call. Due to this AHB clocks are not enabled and this is causing unclocked register access. Now every target have AHB clocks for ISPIF which needs to be enabled always. Change-Id: I576ac20650ac081175942b7d94b6f2b9711b14c8 Signed-off-by: Shilpa Mamidi --- drivers/media/platform/msm/camera_v2/ispif/msm_ispif.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/media/platform/msm/camera_v2/ispif/msm_ispif.c b/drivers/media/platform/msm/camera_v2/ispif/msm_ispif.c index 63865a4ecdaa..b4279e8749c0 100644 --- a/drivers/media/platform/msm/camera_v2/ispif/msm_ispif.c +++ b/drivers/media/platform/msm/camera_v2/ispif/msm_ispif.c @@ -388,11 +388,6 @@ static int msm_ispif_clk_ahb_enable(struct ispif_device *ispif, int enable) { int rc = 0; - if (ispif->csid_version < CSID_VERSION_V30) { - /* Older ISPIF versiond don't need ahb clokc */ - return 0; - } - rc = msm_cam_clk_enable(&ispif->pdev->dev, ispif_ahb_clk_info, ispif->ahb_clk, ispif->num_ahb_clk, enable);