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

Commit 24bf3c70 authored by Pavan Kumar Chilamkurthi's avatar Pavan Kumar Chilamkurthi
Browse files

msm: camera: Update CAMNOC IRQ settings



Fix incorrect register values for CAMNOC AHB irq
and Test irq enable, clear settings.

CRs-Fixed: 2019539
Change-Id: I9c9f0f8307a23504e9f0a9c124067bff2f07b80d
Signed-off-by: default avatarHariram Purushothaman <hariramp@codeaurora.org>
Signed-off-by: default avatarPavan Kumar Chilamkurthi <pchilamk@codeaurora.org>
parent b6aa86db
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ static struct cam_camnoc_irq_sbm cam_cpas100_irq_sbm = {
		.access_type = CAM_REG_TYPE_WRITE,
		.enable = true,
		.offset = 0x2080, /* SBM_FLAGOUTCLR0_LOW */
		.value = TEST_IRQ_ENABLE ? 0x7 : 0x3,
		.value = TEST_IRQ_ENABLE ? 0x6 : 0x2,
	}
};

@@ -164,7 +164,7 @@ static struct cam_camnoc_irq_err
			.access_type = CAM_REG_TYPE_READ_WRITE,
			.enable = true,
			.offset = 0x2088, /* SBM_FLAGOUTSET0_LOW */
			.value = 0x7,
			.value = 0x1,
		},
		.err_status = {
			.access_type = CAM_REG_TYPE_READ,
@@ -191,7 +191,7 @@ static struct cam_camnoc_irq_err
			.access_type = CAM_REG_TYPE_READ_WRITE,
			.enable = true,
			.offset = 0x2088, /* SBM_FLAGOUTSET0_LOW */
			.value = 0x7,
			.value = 0x5,
		},
		.err_status = {
			.access_type = CAM_REG_TYPE_READ,