Re: [PATCH] USB: gadget: introduce isochronous source sink function driver(V2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 06, 2010 at 05:10:36PM +0800, Ming Lei wrote:
> 2010/9/29 Gadiyar, Anand <gadiyar@xxxxxx>:
> > On Tue, Sep 28, 2010 at 11:19 PM, Martin Fuzzey <mfuzzey@xxxxxxxxx> wrote:
> >> On Tue, Sep 28, 2010 at 5:02 PM, Anand Gadiyar <gadiyar@xxxxxx> wrote:
> >>> Anand Gadiyar wrote:
> >>>> I tried this out with a net2280 device connected to an OHCI port.
> >>>>
> >>>> usbtest.ko refuses to bind to the device with the following error
> >>>> message. The host is an OMAP board running v2.6.35.
> >>>>
> >>
> >> I think this is because usbtest doesn't yet know that gadget zero
> >> can do iso
> >>
> >> Try this:
> >>
> >> --- a/drivers/usb/misc/usbtest.c
> >> +++ b/drivers/usb/misc/usbtest.c
> >> @@ -2271,7 +2271,8 @@ static struct usbtest_info gz_info = {
> >>        .name           = "Linux gadget zero",
> >>        .autoconf       = 1,
> >>        .ctrl_out       = 1,
> >> -       .alt            = 0,
> >> +       .alt            = -1,
> >> +       .iso            = 1,
> >>
> >
> > This works, thanks!
> 
> Greg,  since Martin and Gadiyar have verified the patch is OK
> in more than 1 udc controller, could you queue this patch into
> your tree?

If you send it in a format that I can apply it in, yes :)

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux