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
| ||
|
Date: Fri, 10 Jun 2022 09:02:46 +0000 From: "Peng Fan (OSS)" <peng.fan@....nxp.com> To: "Peng Fan (OSS)" <peng.fan@....nxp.com>, "robh+dt@...nel.org" <robh+dt@...nel.org>, "krzysztof.kozlowski+dt@...aro.org" <krzysztof.kozlowski+dt@...aro.org>, "sboyd@...nel.org" <sboyd@...nel.org>, "mturquette@...libre.com" <mturquette@...libre.com>, "shawnguo@...nel.org" <shawnguo@...nel.org>, "s.hauer@...gutronix.de" <s.hauer@...gutronix.de> CC: Aisheng Dong <aisheng.dong@....com>, "l.stach@...gutronix.de" <l.stach@...gutronix.de>, "kernel@...gutronix.de" <kernel@...gutronix.de>, "festevam@...il.com" <festevam@...il.com>, dl-linux-imx <linux-imx@....com>, "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, "linux-arm-kernel@...ts.infradead.org" <linux-arm-kernel@...ts.infradead.org> Subject: RE: [PATCH V4 3/7] clk: export of_clk_bulk_get_all Stephen, > Subject: [PATCH V4 3/7] clk: export of_clk_bulk_get_all Are you fine with this patch? Patch 4 "soc: imx: add i.MX93 SRC power domain driver" depends on this patch, if you are not happy with patch 3, I still have time to rework patch 4. Thanks, Peng. > > From: Peng Fan <peng.fan@....com> > > Export of_clk_bulk_get_all, so drivers could use this API. > > Signed-off-by: Peng Fan <peng.fan@....com> > --- > drivers/clk/clk-bulk.c | 3 ++- > include/linux/clk.h | 2 ++ > 2 files changed, 4 insertions(+), 1 deletion(-) > > diff --git a/drivers/clk/clk-bulk.c b/drivers/clk/clk-bulk.c index > e9e16425c739..470155856b02 100644 > --- a/drivers/clk/clk-bulk.c > +++ b/drivers/clk/clk-bulk.c > @@ -43,7 +43,7 @@ static int __must_check of_clk_bulk_get(struct > device_node *np, int num_clks, > return ret; > } > > -static int __must_check of_clk_bulk_get_all(struct device_node *np, > +int __must_check of_clk_bulk_get_all(struct device_node *np, > struct clk_bulk_data **clks) > { > struct clk_bulk_data *clk_bulk; > @@ -68,6 +68,7 @@ static int __must_check of_clk_bulk_get_all(struct > device_node *np, > > return num_clks; > } > +EXPORT_SYMBOL_GPL(of_clk_bulk_get_all); > > void clk_bulk_put(int num_clks, struct clk_bulk_data *clks) { diff --git > a/include/linux/clk.h b/include/linux/clk.h index 39faa54efe88..ca74f4e83d25 > 100644 > --- a/include/linux/clk.h > +++ b/include/linux/clk.h > @@ -372,6 +372,8 @@ int __must_check clk_bulk_get(struct device *dev, int > num_clks, int __must_check clk_bulk_get_all(struct device *dev, > struct clk_bulk_data **clks); > > +int __must_check of_clk_bulk_get_all(struct device_node *np, > + struct clk_bulk_data **clks); > /** > * clk_bulk_get_optional - lookup and obtain a number of references to clock > producer > * @dev: device for clock "consumer" > -- > 2.25.1
Powered by blists - more mailing lists