]> git.baikalelectronics.ru Git - kernel.git/commit
clk: imx: imx8ulp: set suppress_bind_attrs to true
authorPeng Fan <peng.fan@nxp.com>
Fri, 22 Oct 2021 13:15:13 +0000 (21:15 +0800)
committerAbel Vesa <abel.vesa@nxp.com>
Mon, 22 Nov 2021 12:40:17 +0000 (14:40 +0200)
commit37b9297cc04449ffe41e1043551b0a1aa71a6834
treefb2c559c3dbcb60821053bf554d4d60cfd68a489
parentbad68f6c0c96b209be688acd1511fc590315093b
clk: imx: imx8ulp: set suppress_bind_attrs to true

The clock driver is registered as platform devices and
it is possible to reloading the driver at runtime.

But actually the clocks should never be removed to make system work,
attempting to bind again would result in a crash, because almost all
devices depends on clock to function well.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Link: https://lore.kernel.org/r/20211022131513.17381-1-peng.fan@oss.nxp.com
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
drivers/clk/imx/clk-imx8ulp.c