Re: [PATCH 3/3] media: qcom: camss: vfe: Eliminate ever expanding src_pad_code switch logic
From: Vladimir Zapolskiy
Date: Tue Nov 24 2026 - 10:08:14 EST
On 11/22/26 04:10, bryan.odonoghue@xxxxxxxxxx wrote:
From: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>
Every time we add a SoC the src_pad_code switch statement is expanded. This
expansion has continued to the point where there are more SoCs listed for
what used to be the exceptional state, than the reverse.
Invert the logic. The exception to the rule is the old SoC set there's no
purpose in expanding this switch continuously.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@xxxxxxxxxx>
--
Best wishes,
Vladimir