Re: [PATCH 2/7] ARM: OMAP2+: Fix error handling for omap2_clk_enable_init_clocks

2015-01-14 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [150113 17:25]: On Tue, Jan 13, 2015 at 03:13:52PM -0800, Tony Lindgren wrote: We need to check if we got the clock before trying to do anything with it. Otherwise we will get something like this: Unable to handle kernel paging request at virtual address

Re: [PATCH 2/7] ARM: OMAP2+: Fix error handling for omap2_clk_enable_init_clocks

2015-01-13 Thread Felipe Balbi
On Tue, Jan 13, 2015 at 03:13:52PM -0800, Tony Lindgren wrote: We need to check if we got the clock before trying to do anything with it. Otherwise we will get something like this: Unable to handle kernel paging request at virtual address fffe ... [c04bef78] (clk_prepare) from

[PATCH 2/7] ARM: OMAP2+: Fix error handling for omap2_clk_enable_init_clocks

2015-01-13 Thread Tony Lindgren
We need to check if we got the clock before trying to do anything with it. Otherwise we will get something like this: Unable to handle kernel paging request at virtual address fffe ... [c04bef78] (clk_prepare) from [c00338a4] (omap2_clk_enable_init_clocks+0x50/0x8) [c00338a4]