adb: Switch bus reset to 3-phase-reset
commit5c9ca5d72b312b53ed85e434e381608129d632c9
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 19 Jan 2024 16:35:10 +0000 (19 16:35 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Feb 2024 13:51:57 +0000 (2 13:51 +0000)
tree2ce921d07bf1b776963c6ad51ca7c2aa6c425610
parentd7f35529287abf0ed66e83eb0614bc24186f6957
adb: Switch bus reset to 3-phase-reset

Switch the ADB bus from using BusClass::reset to the Resettable
interface.

This has no behavioural change, because the BusClass code to support
subclasses that use the legacy BusClass::reset will call that method
in the hold phase of 3-phase reset.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Cédric Le Goater <clg@redhat.com>
Acked-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Tested-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-id: 20240119163512.3810301-4-peter.maydell@linaro.org
hw/input/adb.c