Re: commit ef11982dd7a657512c362242508bb4021e0d67b6 breaks musb

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

 



+cc Sebastian, Alan Stern

Hello Felipe,

On 2/28/2015 3:18 AM, Felipe Balbi wrote:
Hi Amit,

commit ef11982dd7a657512c362242508bb4021e0d67b6 (Add support for
interrupt EP) actually broke testusb for MUSB when MUSB is the gadget.

The reason is that we're requesting an endpoint with a 64-byte FIFO, but
later deciding to use the same endpoint with wMaxPacketSize set to 1024
and MUSB errors out because the endpoint was selected for 64-byte only.

This only happens when trying to set alternate setting 2 and it's pretty
easy to trigger.


This issue was brought up earlier by Sebastian. He even submitted a patch for the same and there were discussions over it.
http://www.spinics.net/lists/linux-usb/msg117962.html

However, things were never concluded. Using module parameters should get it working but that isn't a clean solution.

What do you suggest?

Regards
Amit Virdi
--
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