[PATCH] clk: at91: sama7g5: Allocate only the needed amount of memory for PLLs
claudiu beznea
claudiu.beznea at tuxon.dev
Sat Aug 24 07:53:41 PDT 2024
On 14.07.2024 17:13, Claudiu Beznea wrote:
> The maximum number of PLL components on SAMA7G5 is 3 (one fractional
> part and 2 dividers). Allocate the needed amount of memory for
> sama7g5_plls 2d array. Previous code used to allocate 7 array entries for
> each PLL. While at it, replace 3 with PLL_COMPID_MAX in the loop which
> parses the sama7g5_plls 2d array.
>
> Signed-off-by: Claudiu Beznea <claudiu.beznea at tuxon.dev>
Applied to clk-microchip, thanks!
More information about the linux-arm-kernel
mailing list