diff options
author | Michael Grzeschik <[email protected]> | 2012-09-12 14:58:00 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2012-09-12 10:58:37 -0700 |
commit | 7f67c38bdcb6d8bce02e10521fbf1618b586319f (patch) | |
tree | f7a1f98192be0af83c21dbda5f524b3238a7c0c1 /tools/perf/util/trace-event-scripting.c | |
parent | fea7a08acb13524b47711625eebea40a0ede69a0 (diff) |
usb: chipidea: udc: fix setup of endpoint maxpacket size
This patch changes the setup of the endpoint maxpacket size. All non control
endpoints are initialized with an undefined ((unsigned short)~0) maxpacket
size. The maxpacket size of Endpoint 0 will be kept at CTRL_PAYLOAD_MAX.
Some gadget drivers check for the maxpacket size before they enable the
endpoint, which leads to a wrong state in these drivers.
Cc: stable <[email protected]>
Signed-off-by: Michael Grzeschik <[email protected]>
Acked-by: Felipe Balbi <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Signed-off-by: Alexander Shishkin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions