summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>2018-11-20 10:40:33 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-11-23 09:07:21 +0100
commit999d91b86f2c716d7b625aa7408044b16322411b (patch)
tree69559771f1be8b5c3c4140e594fddf244f220f15 /common
parent1eb65685357a3c0df0b3965d4ce1d6c54c306c56 (diff)
downloadbarebox-999d91b86f2c716d7b625aa7408044b16322411b.tar.gz
barebox-999d91b86f2c716d7b625aa7408044b16322411b.tar.xz
clk: fix NULL deref without OF node in debug message
of_clk_add_provider() may be called for devices added via add_generic_device(). There is no OF node in this case, leading to a crash when debug logs are enabled. This affects various i.MX CPUs, which add imx*-ccm clock devices using add_generic_device(). Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions