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:
5b2b573
)
hw/exynos4210_pwm.c: Fix STOP status in tick handler.
author
Evgeny Voevodin
<e.voevodin@samsung.com>
Tue, 26 Jun 2012 09:24:15 +0000
(13:24 +0400)
committer
Evgeny Voevodin
<e.voevodin@samsung.com>
Wed, 27 Jun 2012 10:46:50 +0000
(14:46 +0400)
START/STOP bit was not cleaned correctly.
Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
hw/exynos4210_pwm.c
patch
|
blob
|
history
diff --git
a/hw/exynos4210_pwm.c
b/hw/exynos4210_pwm.c
index 6243e59c48f57dc4a95740f5cbbb7c0413c86804..0c228280a91dd9d237671db2cadcda7d69ae5c6e 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);
}
}