USB: MUSB: upgrade the isochronous API
commit8a1ea51f87a6149c3263a63e9c60d852bedbecd7
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 29 May 2013 17:21:01 +0000 (29 13:21 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 12:34:29 +0000 (30 21:34 +0900)
tree010bf48bb0172df256677885e4e3a9c35e9bb455
parente6b0166f2106e087a197c528eb1e465071f5225b
USB: MUSB: upgrade the isochronous API

This patch attempts to fix the isochonour API in the musb host
driver.  In particular, the urb->start_frame field should always be
set by the driver; it isn't an input parameter.

The simplest way to accomplish this is to treat all URBs as though the
URB_ISO_ASAP flag was set.  This won't give the right behavior when an
underrun occurs, but I don't know enough about the musb driver to
handle that case.

Unfortunately, I have no way to test this change.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/musb_host.c