]> git.ipfire.org Git - thirdparty/qemu.git/commit
usb/ohci: Move cancelling async packet to ohci_stop_endpoints()
authorBALATON Zoltan <balaton@eik.bme.hu>
Tue, 25 Jan 2022 13:33:20 +0000 (14:33 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 4 Mar 2022 08:34:21 +0000 (09:34 +0100)
commitae310557f4ec635dadb5a0857fb9bd592016919c
treea1541be87c0f6d53a6f8a160a53b30737ca29454
parent6e821e5084fb1169d653c835b3819acf94e8b52c
usb/ohci: Move cancelling async packet to ohci_stop_endpoints()

This is always done before calling this function so remove duplicated
code and do it within the function at one place.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <ce766722506bfd7145cccbec750692ff57072280.1643117600.git.balaton@eik.bme.hu>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-ohci.c