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

Commit 004a0552 authored by Junzhe Zou's avatar Junzhe Zou
Browse files

msm: camera: fd: disable the flush slave pending trans polling



Disable the flush slave pending trans polling, change the print
type and the return code to not let this polling affect cpas
stop.

Change-Id: I1220137881749eafd8ff5ebc00d2e854e7c36a6d
Signed-off-by: default avatarJunzhe Zou <jnzhezou@codeaurora.org>
parent 8a58c68a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -402,9 +402,10 @@ static int cam_cpastop_poweroff(struct cam_hw_info *cpas_hw)
			CAM_CPAS_POLL_RETRY_CNT,
			CAM_CPAS_POLL_MIN_USECS, CAM_CPAS_POLL_MAX_USECS);
		if (rc) {
			CAM_ERR(CAM_CPAS,
			CAM_DBG(CAM_CPAS,
				"camnoc flush slave pending trans failed");
			/* Do not return error, passthrough */
			rc = 0;
		}
	}

+1 −1
Original line number Diff line number Diff line
@@ -515,7 +515,7 @@ static uint32_t cam_cpas110_slave_error_logger[] = {

static struct cam_cpas_hw_errata_wa_list cam170_cpas110_errata_wa_list = {
	.camnoc_flush_slave_pending_trans = {
		.enable = true,
		.enable = false,
		.data.reg_info = {
			.access_type = CAM_REG_TYPE_READ,
			.offset = 0x2100, /* SidebandManager_SenseIn0_Low */