]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: qcom: camss: Fix RDI streaming for CSID 340
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Tue, 7 Apr 2026 10:34:52 +0000 (11:34 +0100)
committerBryan O'Donoghue <bod@kernel.org>
Fri, 8 May 2026 23:22:59 +0000 (00:22 +0100)
commitcc1c35619c9895f918f9e388e3caa6ab2ff2fbe7
tree35235618592f4a086a7f16dc28cc8968e426bc92
parent93ea81d16570442dbca04d2e2563ae8c3e65fa1b
media: qcom: camss: Fix RDI streaming for CSID 340

Fix streaming from CSIDn RDI1 and RDI2 to VFEn RDI1 and RDI2. A pattern we
have replicated throughout CAMSS where we use the VC number to populate
both the VC fields and port fields of the CSID means that in practice only
VC = 0 on CSIDn:RDI0 to VFEn:RDI0 works.

Fix that for CSID 340 by separating VC and port. Fix to VC zero as a bugfix
we will look to properly populate the VC field with follow on patches
later.

Fixes: f0fc808a466a ("media: qcom: camss: Add CSID 340 support")
Cc: stable@vger.kernel.org
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Reviewed-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
drivers/media/platform/qcom/camss/camss-csid-340.c