From: Chirantan Ekbote Date: Wed, 11 Jun 2014 15:18:48 +0000 (+0900) Subject: clocksource: exynos_mct: Don't reset the counter during boot and resume X-Git-Tag: omap-for-v3.17/soc-cleanup~48^2~4^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d80415db64b54141ef02ae58bd2f273d0ac3c38;p=pandora-kernel.git clocksource: exynos_mct: Don't reset the counter during boot and resume Unfortunately on some exynos systems, resetting the mct counter also resets the architected timer counter. This can cause problems if the architected timer driver has already been initialized because the kernel will think that the counter has wrapped around, causing a big jump in printk timestamps and delaying any scheduled clock events until the counter reaches the value it had before it was reset. The kernel code makes no assumptions about the initial value of the mct counter so there is no reason from a software perspective to clear the counter before starting it. This also fixes the problems described in the previous paragraph. Cc: Olof Johansson Cc: Tomasz Figa Signed-off-by: Chirantan Ekbote Reviewed-by: Doug Anderson Tested-by: Doug Anderson Signed-off-by: Kukjin Kim --- Reading git-diff-tree failed