diff options
| author | Mian Yousaf Kaukab <[email protected]> | 2015-01-09 13:38:58 +0100 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2015-01-12 15:34:03 -0600 |
| commit | fe0b94abcdf6d80bd575e91baf1e0f85a4978d49 (patch) | |
| tree | e25d3f5ab252d451f1111063a5c59b0cc7e236b0 /tools/perf/scripts/python/bin | |
| parent | 1141ea01d5faa82f4910b4a8f896d10490860f24 (diff) | |
usb: dwc2: gadget: manage ep0 state in software
Manage ep0 state in software to add handling of status OUT stage.
Just toggling hsotg->setup in s3c_hsotg_handle_outdone leaves it in
wrong state in 2-stage control transfers.
Moreover, ensure that for setup-packet s3c_hsotg_handle_outdone is
called either from SetupDone or OutDone but not both. Dwc2 ip v3.00a
generates both SetupDone and OutDone on setup packets.
Tested-by: Robert Baldyga <[email protected]>
Acked-by: Paul Zimmerman <[email protected]>
Signed-off-by: Mian Yousaf Kaukab <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions