]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
clk: imx8m: Suppress bind attrs
authorLeonard Crestez <leonard.crestez@nxp.com>
Thu, 21 Nov 2019 13:52:17 +0000 (15:52 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 9 Dec 2019 02:36:34 +0000 (10:36 +0800)
commit2ef139393fdcb7e8016aab9f649696c06d73deb1
tree54e72a13e59d8a7854bbb99e10e8c024adb66c44
parentc13f370d492d2696f768152d50fc4f7c02a24c83
clk: imx8m: Suppress bind attrs

The clock drivers on imx8m series are registered as platform devices and
this opens the possibility of reloading the driver at runtime.

This doesn't actually work: clocks are never removed and attempting to
bind again results in registration errors and a crash. Almost all
devices depend on clocks anyway so rebinding is unlikely to ever be
useful

Fix this by explicitly suppressing bind attrs like several other
clock drivers.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-imx8mm.c
drivers/clk/imx/clk-imx8mn.c
drivers/clk/imx/clk-imx8mq.c