FAILED: patch "[PATCH] media: qcom: camss: Fix csid IRQ offset for sa8775p" failed to apply to 7.1-stable tree
Subsystems (5)
[email protected]
maintainerThe patch below does not apply to the 7.1-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
To reproduce the conflict and resubmit, you may use the following commands:
git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-7.1.y
git checkout FETCH_HEAD
git cherry-pick -x 817998f863981b8b3f9829798dc4ec9fa275bdaf
# <resolve conflicts, build, test, etc.>
git commit -s
git send-email --to '<[email protected]>' --in-reply-to '2026072956-prison-void-b736@gregkh' --subject-prefix 'PATCH 7.1.y' 'HEAD^..'
Possible dependencies:
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
From 817998f863981b8b3f9829798dc4ec9fa275bdaf Mon Sep 17 00:00:00 2001
From: Wenmeng Liu <[email protected]>
Date: Fri, 13 Mar 2026 18:13:02 +0800
Subject: [PATCH] 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,
drivers/media/platform/qcom/camss/camss-csid-gen3.c +3 -3
@@ -48,9 +48,9 @@#define IS_CSID_690 (csid) ((csid->camss->res->version == CAMSS_8775P) \ || (csid->camss->res->version == CAMSS_8300))#define CSID_BUF_DONE_IRQ_STATUS 0x8C -#define BUF_DONE_IRQ_STATUS_RDI_OFFSET (csid_is_lite(csid) ?\ - 1 : (IS_CSID_690(csid) ?\ - 13 : 14)) +#define BUF_DONE_IRQ_STATUS_RDI_OFFSET (csid_is_lite(csid) ? \ + ((IS_CSID_690(csid) ? 0 : 1)) : \ + ((IS_CSID_690(csid) ? 13 : 14)))#define CSID_BUF_DONE_IRQ_MASK 0x90#define CSID_BUF_DONE_IRQ_CLEAR 0x94#define CSID_BUF_DONE_IRQ_SET 0x98