aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/cmsdk-apb-dualtimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/timer/cmsdk-apb-dualtimer.c')
-rw-r--r--hw/timer/cmsdk-apb-dualtimer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/timer/cmsdk-apb-dualtimer.c b/hw/timer/cmsdk-apb-dualtimer.c
index ccd49753b7..30245990f3 100644
--- a/hw/timer/cmsdk-apb-dualtimer.c
+++ b/hw/timer/cmsdk-apb-dualtimer.c
@@ -296,9 +296,11 @@ static void cmsdk_apb_dualtimer_write(void *opaque, hwaddr offset,
case A_TIMERITCR:
s->timeritcr = value & R_TIMERITCR_VALID_MASK;
cmsdk_apb_dualtimer_update(s);
+ break;
case A_TIMERITOP:
s->timeritop = value & R_TIMERITOP_VALID_MASK;
cmsdk_apb_dualtimer_update(s);
+ break;
default:
bad_offset:
qemu_log_mask(LOG_GUEST_ERROR,