summaryrefslogtreecommitdiffstats
path: root/hw/misc/omap_gpmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/omap_gpmc.c')
-rw-r--r--hw/misc/omap_gpmc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/misc/omap_gpmc.c b/hw/misc/omap_gpmc.c
index a0de52f..74fc91c 100644
--- a/hw/misc/omap_gpmc.c
+++ b/hw/misc/omap_gpmc.c
@@ -624,7 +624,8 @@ static void omap_gpmc_write(void *opaque, hwaddr addr,
struct omap_gpmc_cs_file_s *f;
if (size != 4 && gpmc_wordaccess_only(addr)) {
- return omap_badwidth_write32(opaque, addr, value);
+ omap_badwidth_write32(opaque, addr, value);
+ return;
}
switch (addr) {
OpenPOWER on IntegriCloud