xhci: Call usb_device_alloc/free_streams
authorHans de Goede <hdegoede@redhat.com>
Tue, 19 Nov 2013 13:36:58 +0000 (14:36 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 26 Nov 2013 08:21:17 +0000 (09:21 +0100)
commit72391da50621c9f11bb8c57193ab2d1ad8bc5ad8
tree64d2a2e2f454fdbe0da521e715e8ddf312951c90
parent3b444eadf7726d976be4ac89e8e742cb7eb7a5ee
xhci: Call usb_device_alloc/free_streams

Note this code is not as KISS as I would like, the reason for this is that
the Linux kernel interface wants streams on eps belonging to one interface
to be allocated in one call. Things will also work if we do this one ep at a
time (as long as all eps support the same amount of streams), but lets stick
to the kernel API.

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