[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260115201158.3371bf40@kernel.org>
Date: Thu, 15 Jan 2026 20:11:58 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Suraj Gupta <suraj.gupta2@....com>
Cc: <mturquette@...libre.com>, <sboyd@...nel.org>,
<radhey.shyam.pandey@....com>, <andrew+netdev@...n.ch>,
<davem@...emloft.net>, <edumazet@...gle.com>, <pabeni@...hat.com>,
<michal.simek@....com>, <sean.anderson@...ux.dev>, <linux@...linux.org.uk>,
<linux-clk@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<netdev@...r.kernel.org>, <linux-arm-kernel@...ts.infradead.org>,
<bmasney@...hat.com>
Subject: Re: [PATCH V2 1/2] clk: Add devm_clk_bulk_get_optional_enable()
helper
On Tue, 13 Jan 2026 23:40:01 +0530 Suraj Gupta wrote:
> +/**
> + * devm_clk_bulk_get_optional_enable - Get and enable optional bulk clocks (managed)
> + * @dev: device for clock "consumer"
> + * @num_clks: the number of clk_bulk_data
> + * @clks: pointer to the clk_bulk_data table of consumer
> + *
> + * Behaves the same as devm_clk_bulk_get_optional() but also prepares and enables
> + * the clocks in one operation with management. The clks will automatically be
> + * disabled, unprepared and freed when the device is unbound.
> + *
> + * Returns 0 if all clocks specified in clk_bulk_data table are obtained
> + * and enabled successfully, or for any clk there was no clk provider available.
> + * Otherwise returns valid IS_ERR() condition containing errno.
> + */
> +int __must_check devm_clk_bulk_get_optional_enable(struct device *dev, int num_clks,
> + struct clk_bulk_data *clks);
s/Returns 0/Return: /
the colon is required by kdoc
--
pw-bot: cr
Powered by blists - more mailing lists