diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2013-05-29 13:19:10 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-30 21:34:31 +0900 |
commit | f467ff4c7dd736b4a3c7e715efed763c0b021838 (patch) | |
tree | d597b12f26bbdcc6c8e94f0ef3cd0c266c7ca10a /include/asm-generic | |
parent | 9db33f317432d1a9e22116092c6455ae71bf73fc (diff) | |
download | linux-f467ff4c7dd736b4a3c7e715efed763c0b021838.tar.bz2 |
USB: FHCI: upgrade the isochronous API
This patch attempts to fix the isochronous API in the fhci-hcd
driver. There are two problems with the current code:
ed->last_iso is used but not set anywhere. The patch changes
its name to ed->next_iso and uses it to store the frame number
of the next available slot in the isochronous stream.
urb->start_frame isn't set when the URB_ISO_ASAP flag is off.
The patch sets it to the next available slot if the stream is
in use, or the current frame otherwise.
This won't give the right behavior when an underrun occurs, but I
don't know enough about the driver to handle that case.
Unfortunately, I don't have any way to test these changes.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: Anton Vorontsov <avorontsov@ru.mvista.com>
CC: Li Yang <leoli@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions