]> git.proxmox.com Git - qemu.git/commit
hw/usb-musb.c: Don't misuse usb_packet_complete()
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 14 Jun 2011 11:24:04 +0000 (12:24 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 5 Jul 2011 13:09:01 +0000 (15:09 +0200)
commit000eb4fa525d0b9b2d2b2a2ad4925863af60e5f7
treecf71d473a2edac538cf072a32e6959695d6f0950
parent9312805d33e8b106bae356d13a8071fb37d75554
hw/usb-musb.c: Don't misuse usb_packet_complete()

In musb_packet() handle final processing of non-asynchronous
USB packets by directly calling musb_schedule_cb() rather than
going through usb_packet_complete(). The latter will trigger
an assertion because the packet doesn't belong to a device.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-musb.c