ps2: don't raise an interrupt if queue is full
commit7704bb02dd73070b218fb091cdda79679dab2b8f
authorVolker Rümelin <vr_qemu@t-online.de>
Tue, 25 May 2021 18:14:31 +0000 (25 20:14 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 26 May 2021 09:27:45 +0000 (26 11:27 +0200)
treee7fdba83c395df7f4441ca9b4a72222a423e5697
parent76968101f549fb6bb51b4bdea65e8a48307c765d
ps2: don't raise an interrupt if queue is full

ps2_queue() behaves differently than the very similar functions
ps2_queue_2() to ps2_queue_4(). The first one calls update_irq()
even if the queue is full, the others don't. Change ps2_queue()
to be consistent with the others.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Message-Id: <20210525181441.27768-2-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/input/ps2.c