mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
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 <kartanan@codeaurora.org>
This commit is contained in:
parent
b08e2b4099
commit
42e7f5c6d8
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue