clocksource: armada-370-xp: Add missing clock enable
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Tue, 4 Nov 2014 13:21:31 +0000 (10:21 -0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 26 Nov 2014 12:51:07 +0000 (13:51 +0100)
commit551f2fd5c6f34945e2daa3abb547f81f5576facb
tree0bc943215f7f3c5fd997c7d996d498d805796405
parentef89af1f4380b922bdadd31c9e49829a022f55ae
clocksource: armada-370-xp: Add missing clock enable

This commit makes sure the timer clock is prepared and enabled
before retrieving its rate.

Acked-by: Jason Cooper <jason@lakedaemon.net>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Wim Van Sebroeck <wim@iguana.be>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/time-armada-370-xp.c