qemu-patch-raspberry4/hw/input
Mark Cave-Ayland 913f47ef96 adb: only call autopoll callbacks when autopoll is not blocked
Handle this at the ADB bus level so that individual implementations do not need
to handle this themselves.

Finally add an assert() into adb_request() to prevent developers from accidentally
making an explicit ADB request without blocking autopoll.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tested-by: Finn Thain <fthain@telegraphics.com.au>
Acked-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20200623204936.24064-21-mark.cave-ayland@ilande.co.uk>
2020-06-26 10:13:52 +01:00
..
adb-internal.h Supply missing header guards 2019-06-12 13:20:21 +02:00
adb-kbd.c adb: introduce new ADBDeviceHasData method to ADBDeviceClass 2020-06-26 10:13:51 +01:00
adb-mouse.c adb: introduce new ADBDeviceHasData method to ADBDeviceClass 2020-06-26 10:13:51 +01:00
adb.c adb: only call autopoll callbacks when autopoll is not blocked 2020-06-26 10:13:52 +01:00
hid.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
Kconfig hw/input: Do not enable CONFIG_PCKBD by default 2020-02-04 09:01:31 +01:00
lasips2.c hppa: add emulation of LASI PS2 controllers 2020-01-27 10:49:51 -08:00
lm832x.c hw/input/lm832x: Convert reset handler to DeviceReset 2019-10-15 18:18:08 -03:00
Makefile.objs hw/*/Makefile.objs: Move many .o files to common-objs 2020-02-04 09:00:57 +01:00
milkymist-softusb.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
pckbd.c acpi: move aml builder code for i8042 (kbd+mouse) device 2020-06-24 17:18:28 -04:00
pl050.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
ps2.c hppa: add emulation of LASI PS2 controllers 2020-01-27 10:49:51 -08:00
pxa2xx_keypad.c hw/input/pxa2xx_keypad: Replace hw_error() by qemu_log_mask() 2020-06-05 17:23:08 +01:00
stellaris_input.c migration: Define VMSTATE_INSTANCE_ID_ANY 2020-01-20 09:10:23 +01:00
trace-events hppa: add emulation of LASI PS2 controllers 2020-01-27 10:49:51 -08:00
tsc210x.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
tsc2005.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
vhost-user-input.c qom: Drop parameter @errp of object_property_add() & friends 2020-05-15 07:07:58 +02:00
virtio-input-hid.c qdev: Unrealize must not fail 2020-05-15 07:08:14 +02:00
virtio-input-host.c qdev: Unrealize must not fail 2020-05-15 07:08:14 +02:00
virtio-input.c qdev: Unrealize must not fail 2020-05-15 07:08:14 +02:00