commit | be890a1a95fb439594e796f1968f86ee9f36e718 | [log] [tgz] |
---|---|---|
author | Magnus Damm <damm@igel.co.jp> | Wed Jun 17 05:04:04 2009 +0000 |
committer | Paul Mundt <lethal@linux-sh.org> | Wed Jun 17 15:39:56 2009 +0900 |
tree | 89a1107bfae107e43f544fb2041ca13a92b946b5 | |
parent | 4c7eb4ebc9001ce343969f58fa538e164e82000b [diff] |
sh: turn off irqs when disabling CMT/TMU timers Modify the CMT and TMU drivers to disable interrupts when disabling the timer. Only using start/stop bits is not enough. This fixes a bootup hang on Migo-R when the CMT is replaced by TMU for clockevents but the CMT keeps on delivering irqs even though the timer start bit is off. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>