From: Sebastian Andrzej Siewior Date: Thu, 18 Sep 2014 14:33:27 +0000 (+0200) Subject: clk: ti: consider the fact that of_clk_get() might return an error X-Git-Tag: omap-for-v3.19/prcm-cleanup~65^2~8^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=319f1276f9a392526d2f40ecd76c1c829d0cf5fa;p=pandora-kernel.git clk: ti: consider the fact that of_clk_get() might return an error I "forgot" to update the dtb and the kernel crashed: |Unable to handle kernel NULL pointer dereference at virtual address 0000002e |PC is at __clk_get_flags+0x4/0xc |LR is at ti_dt_clockdomains_setup+0x70/0xe8 because I did not have the clock nodes. of_clk_get() returns an error pointer which is not checked here. Acked-by: Nishanth Menon Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Tero Kristo --- Reading git-diff-tree failed