exynos5250: Add mct_start to the timer init blob in timer_monotonic_get.

A previous change removed init_timer from timer_monotonic_get because its old
implementation set up the PWM based timer which was going away. It would still
be a good idea to initialize the timer at that point, just not the pwm.

BUG=chrome-os-partner:19420
TEST=Built and booted on snow.
BRANCH=None

Change-Id: I4816710ec2c9d5ca53b704c6b9397bcfac183fdc
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: https://gerrit.chromium.org/gerrit/64160
Reviewed-by: Ronald G. Minnich <rminnich@chromium.org>
Commit-Queue: Gabe Black <gabeblack@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
This commit is contained in:
Gabe Black 2013-07-31 22:50:21 -07:00 committed by ChromeBot
commit e2b31a0ac4

View file

@ -37,6 +37,7 @@ void timer_monotonic_get(struct mono_time *mt)
uint64_t usecs_elapsed;
if (!mono_counter.initialized) {
mct_start();
mono_counter.last_value = mct_raw_value();
mono_counter.initialized = 1;
}