diff options
Diffstat (limited to 'hw/ssi/omap_spi.c')
-rw-r--r-- | hw/ssi/omap_spi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/ssi/omap_spi.c b/hw/ssi/omap_spi.c index 0ed3b110e6..119e325a64 100644 --- a/hw/ssi/omap_spi.c +++ b/hw/ssi/omap_spi.c @@ -226,7 +226,8 @@ static void omap_mcspi_write(void *opaque, hwaddr addr, int ch = 0; if (size != 4) { - return omap_badwidth_write32(opaque, addr, value); + omap_badwidth_write32(opaque, addr, value); + return; } switch (addr) { |