From: Hao Liu Date: Sun, 28 Sep 2014 23:50:06 +0000 (+0200) Subject: clocksource: sirf: Disable counter before re-setting it X-Git-Tag: fixes-against-v3.18-rc2~142^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28cf35675a66947b20731f6acbc9d5b131930ce3;p=pandora-kernel.git clocksource: sirf: Disable counter before re-setting it According to HW spec, we have to disable the counter before setting it, if we don't this, in pressure test, sometimes the timer might not generate interrupt any more. And this patch also fixes a typo for register set by changing 0x7 to 0x3. 0x7 is loop mode in HW, but here we are using oneshot 0x3. Signed-off-by: Hao Liu Signed-off-by: Barry Song Signed-off-by: Daniel Lezcano --- Reading git-diff-tree failed