aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/omap_sdrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/omap_sdrc.c')
-rw-r--r--hw/misc/omap_sdrc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/misc/omap_sdrc.c b/hw/misc/omap_sdrc.c
index ed62caf03f..3de0c0e9d0 100644
--- a/hw/misc/omap_sdrc.c
+++ b/hw/misc/omap_sdrc.c
@@ -92,7 +92,8 @@ static void omap_sdrc_write(void *opaque, hwaddr addr,
struct omap_sdrc_s *s = (struct omap_sdrc_s *) opaque;
if (size != 4) {
- return omap_badwidth_write32(opaque, addr, value);
+ omap_badwidth_write32(opaque, addr, value);
+ return;
}
switch (addr) {