[PATCH 1/3] ARM: msm: Stop counting before reprogramming clockevent

2013-03-14 Thread Stephen Boyd
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

[PATCH 1/3] ARM: msm: Stop counting before reprogramming clockevent

2013-03-14 Thread Stephen Boyd
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