[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 16/50] lasips2: spacing fixes
From: |
Mark Cave-Ayland |
Subject: |
[PATCH 16/50] lasips2: spacing fixes |
Date: |
Sun, 22 May 2022 19:18:02 +0100 |
This helps improve the readability of lasips2.c.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
---
hw/input/lasips2.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/input/lasips2.c b/hw/input/lasips2.c
index 94f18be4cd..2ac3433014 100644
--- a/hw/input/lasips2.c
+++ b/hw/input/lasips2.c
@@ -205,7 +205,6 @@ static uint64_t lasips2_reg_read(void *opaque, hwaddr addr,
unsigned size)
break;
case REG_PS2_STATUS:
-
ret = LASIPS2_STATUS_DATSHD | LASIPS2_STATUS_CLKSHD;
if (port->control & LASIPS2_CONTROL_DIAG) {
@@ -238,9 +237,9 @@ static uint64_t lasips2_reg_read(void *opaque, hwaddr addr,
unsigned size)
__func__, addr);
break;
}
+
trace_lasips2_reg_read(size, port->id, addr,
lasips2_read_reg_name(addr), ret);
-
return ret;
}
@@ -257,6 +256,7 @@ static const MemoryRegionOps lasips2_reg_ops = {
static void ps2dev_update_irq(void *opaque, int level)
{
LASIPS2Port *port = opaque;
+
port->irq = level;
lasips2_update_irq(port->parent);
}
--
2.20.1
- [PATCH 07/50] ps2: introduce PS2DeviceClass, (continued)
- [PATCH 07/50] ps2: introduce PS2DeviceClass, Mark Cave-Ayland, 2022/05/22
- [PATCH 12/50] ps2: don't use vmstate_register() in ps2_kbd_init(), Mark Cave-Ayland, 2022/05/22
- [PATCH 10/50] ps2: implement ps2_kbd_realize() and use it to register ps2_keyboard_handler, Mark Cave-Ayland, 2022/05/22
- [PATCH 09/50] ps2: remove duplicate setting of scancode_set in ps2_kbd_init(), Mark Cave-Ayland, 2022/05/22
- [PATCH 11/50] ps2: implement ps2_mouse_realize() and use it to register ps2_mouse_handler, Mark Cave-Ayland, 2022/05/22
- [PATCH 14/50] pl050: checkpatch fixes, Mark Cave-Ayland, 2022/05/22
- [PATCH 13/50] ps2: don't use vmstate_register() in ps2_mouse_init(), Mark Cave-Ayland, 2022/05/22
- [PATCH 15/50] pl050: split pl050_update_irq() into separate pl050_set_irq() and pl050_update_irq() functions, Mark Cave-Ayland, 2022/05/22
- [PATCH 16/50] lasips2: spacing fixes,
Mark Cave-Ayland <=
- [PATCH 17/50] lasips2: rename ps2dev_update_irq() to lasips2_port_set_irq(), Mark Cave-Ayland, 2022/05/22
- [PATCH 19/50] pckbd: move KBDState from pckbd.c to i8042.h, Mark Cave-Ayland, 2022/05/22
- [PATCH 20/50] pckbd: move ISAKBDState from pckbd.c to i8042.h, Mark Cave-Ayland, 2022/05/22
- [PATCH 22/50] pckbd: implement i8042_mmio_reset() for I8042_MMIO device, Mark Cave-Ayland, 2022/05/22
- [PATCH 18/50] pckbd: checkpatch fixes, Mark Cave-Ayland, 2022/05/22
- [PATCH 26/50] pckbd: implement i8042_mmio_init() function, Mark Cave-Ayland, 2022/05/22
- [PATCH 23/50] pckbd: add mask qdev property to I8042_MMIO device, Mark Cave-Ayland, 2022/05/22
- [PATCH 24/50] pckbd: add size qdev property to I8042_MMIO device, Mark Cave-Ayland, 2022/05/22
- [PATCH 28/50] pckbd: move mapping of I8042_MMIO registers to MIPS magnum machine, Mark Cave-Ayland, 2022/05/22
- [PATCH 29/50] pckbd: more vmstate_register() from i8042_mm_init() to i8042_mmio_realize(), Mark Cave-Ayland, 2022/05/22