Skip to content

Commit 05876f6

Browse files
committed
FROMLIST: media: qcom: camss: Fix csid IRQ offset for sa8775p
Fix BUF_DONE_IRQ_STATUS_RDI_OFFSET calculation for csid lite on sa8775p platform. The offset should be 0 for csid lite on sa8775p, Link: https://lore.kernel.org/linux-arm-msm/20260313-vfelite_fix-v2-1-7014429c8345@oss.qualcomm.com/ Fixes: ed03e99 ("media: qcom: camss: Add support for CSID 690") Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
1 parent a51500f commit 05876f6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/media/platform/qcom/camss/camss-csid-gen3.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
#define IS_CSID_690(csid) ((csid->camss->res->version == CAMSS_8775P) \
4949
|| (csid->camss->res->version == CAMSS_8300))
5050
#define CSID_BUF_DONE_IRQ_STATUS 0x8C
51-
#define BUF_DONE_IRQ_STATUS_RDI_OFFSET (csid_is_lite(csid) ?\
52-
1 : (IS_CSID_690(csid) ?\
53-
13 : 14))
51+
#define BUF_DONE_IRQ_STATUS_RDI_OFFSET (csid_is_lite(csid) ? \
52+
((IS_CSID_690(csid) ? 0 : 1)) : \
53+
((IS_CSID_690(csid) ? 13 : 14)))
5454
#define CSID_BUF_DONE_IRQ_MASK 0x90
5555
#define CSID_BUF_DONE_IRQ_CLEAR 0x94
5656
#define CSID_BUF_DONE_IRQ_SET 0x98

0 commit comments

Comments
 (0)