Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 299c1a13 authored by Karthik Anantha Ram's avatar Karthik Anantha Ram Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarKarthik Anantha Ram <kartanan@codeaurora.org>
parent aff901ae
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
/* 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