Skip to content

Commit b5e29cf

Browse files
MrVanabelvesa
authored andcommitted
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 <[email protected]> Reviewed-by: Abel Vesa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Abel Vesa <[email protected]>
1 parent fa55b7d commit b5e29cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/clk/imx/clk-imx8ulp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,7 @@ static struct platform_driver imx8ulp_clk_driver = {
559559
.probe = imx8ulp_clk_probe,
560560
.driver = {
561561
.name = KBUILD_MODNAME,
562+
.suppress_bind_attrs = true,
562563
.of_match_table = imx8ulp_clk_dt_ids,
563564
},
564565
};

0 commit comments

Comments
 (0)