[PATCH 12/74] media: qcom: camss: Fix invalid declaration of PIX for SDM845

From: bod

Date: Mon Oct 05 2026 - 13:23:32 EST


From: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>

sdm845 similarly to sdm670 has declared an additional line_num on the full
VFE path, which implies support for PIX which does not exist.

Implement the same fix for sdm845 as was done for sdm670.

Fixes: ae44829a4a97a3 ("media: qcom: camss: Add per sub-device type resources")
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>
---
drivers/media/platform/qcom/camss/camss.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/media/platform/qcom/camss/camss.c b/drivers/media/platform/qcom/camss/camss.c
index f46ad1db6dbbe..69b976bac60aa 100644
--- a/drivers/media/platform/qcom/camss/camss.c
+++ b/drivers/media/platform/qcom/camss/camss.c
@@ -1455,7 +1455,7 @@ static const struct camss_subdev_resources vfe_res_845[] = {
.reg = { "vfe0" },
.interrupt = { "vfe0" },
.vfe = {
- .line_num = 4,
+ .line_num = 3,
.pd_name = "ife0",
.has_pd = true,
.hw_ops = &vfe_ops_170,
@@ -1483,7 +1483,7 @@ static const struct camss_subdev_resources vfe_res_845[] = {
.reg = { "vfe1" },
.interrupt = { "vfe1" },
.vfe = {
- .line_num = 4,
+ .line_num = 3,
.pd_name = "ife1",
.has_pd = true,
.hw_ops = &vfe_ops_170,

--
2.55.0