]> git.baikalelectronics.ru Git - kernel.git/commit
USB: MUSB: upgrade the isochronous API
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 29 May 2013 17:21:01 +0000 (13:21 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 12:34:29 +0000 (21:34 +0900)
commitad359e0a4fa577afb07070a30de0549c6063b989
tree010bf48bb0172df256677885e4e3a9c35e9bb455
parent6926077291d2326455e9ce9c59d86adcc1e7baf8
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