projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e2aafc
)
hw/exynos4210_pwm.c: Fix STOP status in tick handler.
author
Evgeny Voevodin
<e.voevodin@samsung.com>
Wed, 4 Jul 2012 10:43:31 +0000
(10:43 +0000)
committer
Peter Maydell
<peter.maydell@linaro.org>
Wed, 4 Jul 2012 10:43:31 +0000
(10:43 +0000)
START/STOP bit was not cleaned correctly.
Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/exynos4210_pwm.c
patch
|
blob
|
history
diff --git
a/hw/exynos4210_pwm.c
b/hw/exynos4210_pwm.c
index
6243e59
..
0c22828
100644
(file)
--- a/
hw/exynos4210_pwm.c
+++ b/
hw/exynos4210_pwm.c
@@
-200,7
+200,7
@@
static void exynos4210_pwm_tick(void *opaque)
ptimer_run(p->timer[id].ptimer, 1);
} else {
/* stop timer, set status to STOP, see Basic Timer Operation */
- p->reg_tcon = ~TCON_TIMER_START(id);
+ p->reg_tcon
&
= ~TCON_TIMER_START(id);
ptimer_stop(p->timer[id].ptimer);
}
}