From 1346afb1eab8682ed9a952fba92ee0631bec5f33 Mon Sep 17 00:00:00 2001 From: Rajesh Bondugula Date: Mon, 6 Mar 2017 11:04:18 -0800 Subject: [PATCH] msm: camera: sensor: Do not dump the CCI registers Remove the code to dump the CCI registers in msm_cci_wait. Clock access to the CCI may be halted and may potentially cause a crash while accessing the registers. CRs-Fixed: 2005506 Change-Id: I6c7e61dc3ebc0a599e801acfedb98f523beb090b Signed-off-by: Rajesh Bondugula --- drivers/media/platform/msm/camera_v2/sensor/cci/msm_cci.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/media/platform/msm/camera_v2/sensor/cci/msm_cci.c b/drivers/media/platform/msm/camera_v2/sensor/cci/msm_cci.c index 12d5d7eeb368..8dd1258102be 100644 --- a/drivers/media/platform/msm/camera_v2/sensor/cci/msm_cci.c +++ b/drivers/media/platform/msm/camera_v2/sensor/cci/msm_cci.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. +/* Copyright (c) 2012-2017, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -291,7 +291,6 @@ static uint32_t msm_cci_wait(struct cci_device *cci_dev, __func__, __LINE__); if (rc <= 0) { - msm_cci_dump_registers(cci_dev, master, queue); pr_err("%s: %d wait for queue: %d\n", __func__, __LINE__, queue); if (rc == 0)