pmu: honour autopoll_rate_ms when rearming the ADB autopoll timer
commit414eb1d500b94b2774440656f5bde4bf2e0f4a29
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 23 Jun 2020 20:49:19 +0000 (23 21:49 +0100)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 26 Jun 2020 09:13:51 +0000 (26 10:13 +0100)
treea8e27b8dcfc6bfe2ca2e56c7164ed123d9f0dd74
parentdcb091c40ef8c77590b1c5b7160ec428f2a2a053
pmu: honour autopoll_rate_ms when rearming the ADB autopoll timer

Don't use a fixed value but instead use the default value from the ADB bus
state.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Finn Thain <fthain@telegraphics.com.au>
Acked-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20200623204936.24064-6-mark.cave-ayland@ilande.co.uk>
hw/misc/macio/pmu.c