[PATCH V3 1/3] clk: add clk_bulk_get accessories

Stephen Boyd sboyd at codeaurora.org
Fri Jun 2 15:39:46 PDT 2017


On 05/19, Dong Aisheng wrote:
> These helper function allows drivers to get several clk consumers in
> one operation. If any of the clk cannot be acquired then any clks
> that were got will be put before returning to the caller.
> 
> This can relieve the driver owners' life who needs to handle many clocks,
> as well as each clock error reporting.
> 
> Cc: Michael Turquette <mturquette at baylibre.com>
> Cc: Stephen Boyd <sboyd at codeaurora.org>
> Cc: Russell King <linux at arm.linux.org.uk>
> Cc: Geert Uytterhoeven <geert at linux-m68k.org>
> Cc: "Rafael J. Wysocki" <rjw at rjwysocki.net>
> Cc: Viresh Kumar <viresh.kumar at linaro.org>
> Cc: Mark Brown <broonie at kernel.org>
> Cc: Shawn Guo <shawnguo at kernel.org>
> Cc: Fabio Estevam <fabio.estevam at nxp.com>
> Cc: Sascha Hauer <kernel at pengutronix.de>
> Cc: Anson Huang <anson.huang at nxp.com>
> Cc: Robin Gong <yibin.gong at nxp.com>
> Cc: Bai Ping <ping.bai at nxp.com>
> Cc: Leonard Crestez <leonard.crestez at nxp.com>
> Cc: Octavian Purdila <octavian.purdila at nxp.com>
> Signed-off-by: Dong Aisheng <aisheng.dong at nxp.com>
> ---

Applied to clk-bulk-get and merged into clk-next

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project



More information about the linux-arm-kernel mailing list