linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: imx: imx8ulp: set suppress_bind_attrs to true
@ 2021-10-12 10:01 Peng Fan (OSS)
  2021-10-14 23:38 ` Stephen Boyd
  0 siblings, 1 reply; 2+ messages in thread
From: Peng Fan (OSS) @ 2021-10-12 10:01 UTC (permalink / raw)
  To: sboyd, mturquette, abel.vesa, s.hauer
  Cc: kernel, festevam, linux-imx, linux-clk, linux-arm-kernel,
	linux-kernel, Peng Fan

From: Peng Fan <peng.fan@nxp.com>

Disable bind attributes, the clocks will not removed.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 drivers/clk/imx/clk-imx8ulp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/imx/clk-imx8ulp.c b/drivers/clk/imx/clk-imx8ulp.c
index 6699437e17b8..8eb1af2d6429 100644
--- a/drivers/clk/imx/clk-imx8ulp.c
+++ b/drivers/clk/imx/clk-imx8ulp.c
@@ -559,6 +559,7 @@ static struct platform_driver imx8ulp_clk_driver = {
 	.probe	= imx8ulp_clk_probe,
 	.driver = {
 		.name		= KBUILD_MODNAME,
+		.suppress_bind_attrs = true,
 		.of_match_table	= imx8ulp_clk_dt_ids,
 	},
 };
-- 
2.30.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] clk: imx: imx8ulp: set suppress_bind_attrs to true
  2021-10-12 10:01 [PATCH] clk: imx: imx8ulp: set suppress_bind_attrs to true Peng Fan (OSS)
@ 2021-10-14 23:38 ` Stephen Boyd
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2021-10-14 23:38 UTC (permalink / raw)
  To: Peng Fan, abel.vesa, mturquette, s.hauer
  Cc: kernel, festevam, linux-imx, linux-clk, linux-arm-kernel,
	linux-kernel, Peng Fan

Quoting Peng Fan (OSS) (2021-10-12 03:01:32)
> From: Peng Fan <peng.fan@nxp.com>
> 
> Disable bind attributes, the clocks will not removed.

Great! Why?

> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
>  drivers/clk/imx/clk-imx8ulp.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/clk/imx/clk-imx8ulp.c b/drivers/clk/imx/clk-imx8ulp.c
> index 6699437e17b8..8eb1af2d6429 100644
> --- a/drivers/clk/imx/clk-imx8ulp.c
> +++ b/drivers/clk/imx/clk-imx8ulp.c
> @@ -559,6 +559,7 @@ static struct platform_driver imx8ulp_clk_driver = {
>         .probe  = imx8ulp_clk_probe,
>         .driver = {
>                 .name           = KBUILD_MODNAME,
> +               .suppress_bind_attrs = true,
>                 .of_match_table = imx8ulp_clk_dt_ids,
>         },
>  };

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-14 23:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-12 10:01 [PATCH] clk: imx: imx8ulp: set suppress_bind_attrs to true Peng Fan (OSS)
2021-10-14 23:38 ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).