(subset) [PATCH 1/5] clk: bcm-2835: Pick the closest clock rate

Maxime Ripard maxime at cerno.tech
Wed Oct 13 05:59:21 PDT 2021


On Wed, 22 Sep 2021 14:54:15 +0200, Maxime Ripard wrote:
> The driver currently tries to pick the closest rate that is lower than
> the rate being requested.
> 
> This causes an issue with clk_set_min_rate() since it actively checks
> for the rounded rate to be above the minimum that was just set.
> 
> Let's change the logic a bit to pick the closest rate to the requested
> rate, no matter if it's actually higher or lower.
> 
> [...]

Applied to drm/drm-misc (drm-misc-fixes).

Thanks!
Maxime



More information about the linux-arm-kernel mailing list