Browse Source

msm: camera: custom: Disable overflow recovery

This change disables overflow recovery/detection for
custom CSID. Currently for QCOM CSID we enable overflow
detection and freeze on overflow. But for custom HW the
CSID needs to be free running, custom HW will take care
of handling any backpressure from IFE pipeline/DDR.
There is no need to backpressure to CSID in case of custom
HW.

CRs-Fixed: 2524308
Change-Id: I5de62eea0e87674d7ac24bb5ad2f11ff2a5a6b7c
Signed-off-by: Karthik Anantha Ram <[email protected]>
Karthik Anantha Ram 5 years ago
parent
commit
42e7f5c6d8

+ 4 - 4
drivers/cam_cust/cam_custom_hw_mgr/cam_custom_csid/cam_custom_csid480.h

@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0-only */
 /*
- * Copyright (c) 2019, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
  */
 
 #ifndef _CAM_CUSTOM_CSID_480_H_
@@ -56,7 +56,7 @@ static struct cam_ife_csid_udi_reg_offset
 	.csid_udi_byte_cntr_pong_addr             = 0x2e4,
 	/* configurations */
 	.ccif_violation_en                        = 1,
-	.overflow_ctrl_en                         = 1,
+	.overflow_ctrl_en                         = 0,
 };
 
 static struct cam_ife_csid_udi_reg_offset
@@ -105,7 +105,7 @@ static struct cam_ife_csid_udi_reg_offset
 	.csid_udi_byte_cntr_pong_addr             = 0x3e4,
 	/* configurations */
 	.ccif_violation_en                        = 1,
-	.overflow_ctrl_en                         = 1,
+	.overflow_ctrl_en                         = 0,
 };
 
 static struct cam_ife_csid_udi_reg_offset
@@ -155,7 +155,7 @@ static struct cam_ife_csid_udi_reg_offset
 	.csid_udi_byte_cntr_pong_addr             = 0x4e4,
 	/* configurations */
 	.ccif_violation_en                        = 1,
-	.overflow_ctrl_en                         = 1,
+	.overflow_ctrl_en                         = 0,
 };
 
 static struct cam_ife_csid_csi2_rx_reg_offset