Re: [PATCH 01/24] clk: meson: Remove negative error returns from clk_get_rate

Simon Glass <[email protected]> Sat, 18 Oct 2025 09:34:48 +0100
Newsgroups io.groups.u-boot-amlogic,org.u-boot-project.lists.u-boot
Message-ID <CAFLszTiPBOmz88HXUAM6Qdrth9xm5sgeyRxVO=GV_1GVAFucSA@mail.gmail.com>
Hi Andrew,

On Wed, 15 Oct 2025 at 15:32, Andrew Goodbody
<[email protected]> wrote:
>
> clk_get_rate() returns a ulong so do not attempt to pass negative error
> codes through it.
>
> Signed-off-by: Andrew Goodbody <[email protected]>
> ---
>  drivers/clk/meson/a1.c   | 10 +++++-----
>  drivers/clk/meson/axg.c  | 10 +++++-----
>  drivers/clk/meson/g12a.c | 36 ++++++++++++++++++------------------
>  drivers/clk/meson/gxbb.c | 20 ++++++++++----------
>  4 files changed, 38 insertions(+), 38 deletions(-)
>

Don't change the driver interface...just update the uclass.

Regards,
Simon