[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2a56789d4f1eaa97ec91392f93741f19.sboyd@kernel.org>
Date: Mon, 15 Jul 2024 12:47:31 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Claudiu Beznea <claudiu.beznea@...on.dev>, alexandre.belloni@...tlin.com, mturquette@...libre.com, nicolas.ferre@...rochip.com
Cc: linux-clk@...r.kernel.org, linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org, Claudiu Beznea <claudiu.beznea@...on.dev>
Subject: Re: [PATCH] clk: at91: sama7g5: Allocate only the needed amount of memory for PLLs
Quoting Claudiu Beznea (2024-07-14 07:13:15)
> 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@...on.dev>
> ---
Might as well add a Fixes tag so we know when it was less efficient and
to help anyone trying to backport this driver.
Acked-by: Stephen Boyd <sboyd@...nel.org>
Powered by blists - more mailing lists