ARM: plat-nomadik: handle clocking properly
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 11 Jan 2012 08:51:14 +0000 (09:51 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 30 Jan 2012 23:05:28 +0000 (00:05 +0100)
commitd3e8b7569ad733c063a95dc1a51928e6e7c40652
tree15bb43211140a336a1cc6e366af437117da69124
parentb9576623c4217a5d753c272158e1e108c25a1a57
ARM: plat-nomadik: handle clocking properly

clk_prepare() was missing from the Nomadik MTU driver, also handle
errors on prepare and enable in the simplest way possible, by
bugging out - we cannot start the system without time anyway.

Acked-by: Alessandro Rubini <rubini@unipv.it>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/plat-nomadik/timer.c