Re: [PATCH v2 1/6] media: qcom: camss: factor out the VFE minimum clock rate
From: Bryan O'Donoghue
Date: Mon Oct 26 2026 - 05:08:24 EST
On 24/10/2026 10:40, Atanas Filipov wrote:
> vfe_set_clock_rates() and vfe_check_clock_rates() both compute the
> minimum clock rate needed by the VFE lines from their pixel rates,
> inside the loop over the VFE clocks. The result is the same for every
> clock.
>
> Move the computation into vfe_get_min_clock_rate() and call it once
> per VFE, so that the clock loops only select and check rates. No
> functional change.
>
> Signed-off-by: Atanas Filipov <atanas.filipov@xxxxxxxxxxxxxxxx>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>