commit | b38d27e5527c33a2a1f5bb3aee39b755e57dea86 | [log] [tgz] |
---|---|---|
author | Andreas Larsson <andreas@gaisler.com> | Thu Mar 27 16:15:58 2014 +0100 |
committer | Felipe Balbi <balbi@ti.com> | Mon Apr 21 14:07:27 2014 -0500 |
tree | 0b7fed4b0390b1f576a2d14ac037f2370ec2e0d7 | |
parent | 5bddbd72c6c02498aba8b48527c86d1398dba3f4 [diff] |
usb: gadget: gr_udc: Return error code when trying to set ep.maxpacket > ep.maxpacket_limit Make gr_ep_enable fail properly when a call requests a larger ep.maxpacket than ep.maxpacket_limit. Signed-off-by: Andreas Larsson <andreas@gaisler.com> Signed-off-by: Felipe Balbi <balbi@ti.com>