summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajesh Bondugula <rajeshb@codeaurora.org>2017-03-06 11:04:18 -0800
committerRajesh Bondugula <rajeshb@codeaurora.org>2017-03-06 11:04:18 -0800
commit1346afb1eab8682ed9a952fba92ee0631bec5f33 (patch)
treeb9aea18cf19f14ceff9495f575547fbfa0e5ecd4
parent2dc96b1cbbdcf5aef3780696708012d55fec57f2 (diff)
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 <rajeshb@codeaurora.org>
-rw-r--r--drivers/media/platform/msm/camera_v2/sensor/cci/msm_cci.c3
1 files changed, 1 insertions, 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)