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

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 gen2 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: 729fc005c8e2 ("media: qcom: camss: Split testgen, RDI and RX for CSID 170")
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-gen2.c