[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ca920d7c-43a5-4961-acb2-3b3eae9ee286@tuxon.dev>
Date: Tue, 16 Jul 2024 10:37:53 +0300
From: claudiu beznea <claudiu.beznea@...on.dev>
To: Stephen Boyd <sboyd@...nel.org>, 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
Subject: Re: [PATCH] clk: at91: sama7g5: Allocate only the needed amount of
memory for PLLs
On 15.07.2024 22:47, Stephen Boyd wrote:
> 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.
That would be:
Fixes: cb783bbbcf54 ("clk: at91: sama7g5: add clock support for sama7g5")
Thank you,
Claudiu Beznea
>
> Acked-by: Stephen Boyd <sboyd@...nel.org>
Powered by blists - more mailing lists