commit | bdcc03cef0fd8abc6eaeec6ac47e54ae8f8c625f | [log] [tgz] |
---|---|---|
author | Andrzej Pietrasiewicz <andrzej.p@collabora.com> | Thu Jan 31 15:53:40 2019 +0100 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Thu Feb 07 13:14:51 2019 +0200 |
tree | 56fae0b1ac05a661572a90da782fe6a56ff576e4 | |
parent | dffe2d7fc45017d7afdb6fc226ff34a537cc285c [diff] |
usb: gadget: f_fs: preserve wMaxPacketSize across usb_ep_autoconfig() call usb_ep_autoconfig() treats the passed descriptor as if it were an fs descriptor. In particular, for bulk endpoints, it clips wMaxPacketSize to 64. This patch preserves the original value. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>