From: Stephen Boyd <sboyd@kernel.org>
To: Claudiu Beznea <claudiu.beznea@tuxon.dev>,
alexandre.belloni@bootlin.com, mturquette@baylibre.com,
nicolas.ferre@microchip.com
Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Claudiu Beznea <claudiu.beznea@tuxon.dev>
Subject: Re: [PATCH] clk: at91: sama7g5: Allocate only the needed amount of memory for PLLs
Date: Mon, 15 Jul 2024 12:47:31 -0700 [thread overview]
Message-ID: <2a56789d4f1eaa97ec91392f93741f19.sboyd@kernel.org> (raw)
In-Reply-To: <20240714141315.19480-1-claudiu.beznea@tuxon.dev>
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@tuxon.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@kernel.org>
next prev parent reply other threads:[~2024-07-15 19:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-14 14:13 [PATCH] clk: at91: sama7g5: Allocate only the needed amount of memory for PLLs Claudiu Beznea
2024-07-15 19:47 ` Stephen Boyd [this message]
2024-07-16 7:37 ` claudiu beznea
2024-08-24 14:53 ` claudiu beznea
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2a56789d4f1eaa97ec91392f93741f19.sboyd@kernel.org \
--to=sboyd@kernel.org \
--cc=alexandre.belloni@bootlin.com \
--cc=claudiu.beznea@tuxon.dev \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=nicolas.ferre@microchip.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).