usb: Enforce iso endpoints never returing USB_RET_ASYNC
commitaaac74343d761947e57a1b0cbaa7f2dd0c6a40ca
authorHans de Goede <hdegoede@redhat.com>
Wed, 24 Oct 2012 16:31:04 +0000 (24 18:31 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 25 Oct 2012 07:08:10 +0000 (25 09:08 +0200)
treec6a5bc3ee6bb62de12affc26e13db267a9eca245
parenta6fb2ddb1417fcc2d24f3231c84035fcbd90123a
usb: Enforce iso endpoints never returing USB_RET_ASYNC

ehci was already testing for this, and we depend in various places
on no devices doing this, so lets move the check for this to the
usb core.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/core.c
hw/usb/hcd-ehci.c