lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZc2L2jLufmfrWzqCp3A4oS8w+K6oD+FNyX5pJvE3aw-w@mail.gmail.com>
Date: Mon, 2 Sep 2024 10:26:45 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Wang Jianzheng <wangjianzheng@...o.com>
Cc: Damien Le Moal <dlemoal@...nel.org>, 
	"open list:CANAAN/KENDRYTE K210 SOC FPIOA DRIVER" <linux-riscv@...ts.infradead.org>, 
	"open list:CANAAN/KENDRYTE K210 SOC FPIOA DRIVER" <linux-gpio@...r.kernel.org>, open list <linux-kernel@...r.kernel.org>, 
	opensource.kernel@...o.com
Subject: Re: [PATCH 4/5] pinctrl: k210: Use devm_clk_get_enabled() helpers

On Thu, Aug 29, 2024 at 8:49 AM Wang Jianzheng <wangjianzheng@...o.com> wrote:

> The devm_clk_get_enabled() helpers:
>     - call devm_clk_get()
>     - call clk_prepare_enable() and register what is needed in order to
>      call clk_disable_unprepare() when needed, as a managed resource.
>
> This simplifies the code and avoids the calls to clk_disable_unprepare().
>
> Signed-off-by: Wang Jianzheng <wangjianzheng@...o.com>

Patch applied!

Yours,
Linus Walleij

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ