summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorMian Yousaf Kaukab <yousaf.kaukab@intel.com>2015-01-09 13:38:58 +0100
committerFelipe Balbi <balbi@ti.com>2015-01-12 15:34:03 -0600
commitfe0b94abcdf6d80bd575e91baf1e0f85a4978d49 (patch)
treee25d3f5ab252d451f1111063a5c59b0cc7e236b0 /samples
parent1141ea01d5faa82f4910b4a8f896d10490860f24 (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 <r.baldyga@samsung.com> Acked-by: Paul Zimmerman <paulz@synopsys.com> Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions