[PATCH v2] CLK: TI: consider the fact that of_clk_get() might return an error

2014-09-17 Thread Sebastian Andrzej Siewior
I forgot to update the dtb and the kernel crashed: |Unable to handle kernel NULL pointer dereference at virtual address 002e |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

Re: [PATCH v2] CLK: TI: consider the fact that of_clk_get() might return an error

2014-09-17 Thread Nishanth Menon
On 17:56-20140917, Sebastian Andrzej Siewior wrote: I forgot to update the dtb and the kernel crashed: |Unable to handle kernel NULL pointer dereference at virtual address 002e |PC is at __clk_get_flags+0x4/0xc |LR is at ti_dt_clockdomains_setup+0x70/0xe8 because I did not have the