From: Stephen Boyd Date: Fri, 15 Mar 2013 03:31:37 +0000 (-0700) Subject: ARM: msm: Stop counting before reprogramming clockevent X-Git-Tag: v3.9-rc6~31^2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4080d2d11a2d572228c2b8d02406e997b87ba6a5;p=pandora-kernel.git ARM: msm: Stop counting before reprogramming clockevent If the clockevent is forcibly reprogrammed to have a different match value we mistakenly assume the timer is not ticking and program a new match value while the timer is running. Although we clear the timer before programming a new match, it's better to stop the timer before clearing it so that we're sure the proper amount of ticks are counted. Failure to do so can lead to missed ticks and system hangs. Signed-off-by: Stephen Boyd Signed-off-by: David Brown --- Reading git-diff-tree failed