Fixes for 3.4 and beyond

These are a subset of the changes I proposed 3 months ago (and got committed to your 4.08.00.02_v3.8.x branch).

Since the common clock framework (kernel version 3.4?), clocks need to be clk_prepare'd before being clk_enable'd.