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 <shilpam@codeaurora.org>
This commit is contained in:
Shilpa Mamidi 2016-03-10 20:17:41 +05:30 committed by David Keitel
parent 76343a9674
commit f530fae1cb

View file

@ -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);