projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5cde1d
)
timer: cadence_ttc: Fix match register write logic
author
Peter Crosthwaite
<peter.crosthwaite@xilinx.com>
Tue, 1 Apr 2014 04:31:09 +0000
(21:31 -0700)
committer
Peter Maydell
<peter.maydell@linaro.org>
Thu, 17 Apr 2014 20:34:06 +0000
(21:34 +0100)
This switch logic should not fall through. Fix.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Message-id:
74147b4c017c904364955cc73107f90e6ac8ba74
.
1396326389
.git.peter.crosthwaite@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/timer/cadence_ttc.c
patch
|
blob
|
history
diff --git
a/hw/timer/cadence_ttc.c
b/hw/timer/cadence_ttc.c
index a279bced78de26aa5a39c7112193b9983deca052..28cb328f9babc8d702a3e3dd9316b81f49178be2 100644
(file)
--- a/
hw/timer/cadence_ttc.c
+++ b/
hw/timer/cadence_ttc.c
@@
-346,11
+346,13
@@
static void cadence_ttc_write(void *opaque, hwaddr offset,
case 0x34:
case 0x38:
s->reg_match[0] = value & 0xffff;
+ break;
case 0x3c: /* match register */
case 0x40:
case 0x44:
s->reg_match[1] = value & 0xffff;
+ break;
case 0x48: /* match register */
case 0x4c: