RE: [PATCH v2] USB: gadget: add "maxpacket_limit" field to struct usb_ep

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

 



> From: linux-usb-owner@xxxxxxxxxxxxxxx [mailto:linux-usb-owner@xxxxxxxxxxxxxxx] On Behalf Of Robert Baldyga
> Sent: Thursday, December 12, 2013 12:51 AM
> 
> This patch adds "maxpacket_limit" to struct usb_ep. This field contains
> maximum value of maxpacket supported by driver, and is set in driver probe.
> This value should be used by autoconfig() function, because value of field
> "maxpacket" is set to value from endpoint descriptor when endpoint becomes
> enabled. So when autoconfig() function will be called again for this endpoint,
> "maxpacket" value will contain wMaxPacketSize from descriptior instead of
> maximum packet size for this endpoint.

Can you describe what the exact problem is that this patch is trying to
solve? Under what circumstances does the problem show up? And perhaps a
pointer to any previous email thread where this was discussed? Thanks.

-- 
Paul

--
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