diff options
author | Vahram Aharonyan <vahrama@synopsys.com> | 2016-11-15 06:16:53 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-11-18 14:54:49 +0300 |
commit | a4f827714539a7cb76fa1ac55954b184071999eb (patch) | |
tree | 17652d4e1c20c46c654d922abb0020bf958c8232 /samples | |
parent | ae79dd5dddb6fa4051c96c7f14116ded9e0dbdd7 (diff) | |
download | linux-a4f827714539a7cb76fa1ac55954b184071999eb.tar.xz |
usb: dwc2: gadget: Disable enabled HW endpoint in dwc2_hsotg_ep_disable
Check if endpoint is enabled during dwc2_hsotg_ep_disable() function
processing and call dwc2_hsotg_ep_stop_xfr() to disable it and flush
associated FIFO.
Move dwc2_hsotg_ep_stop_xfr() and dwc2_hsotg_wait_bit_set() functions
upper before dwc2_hsotg_ep_enable and dwc2_hsotg_ep_disable function
definitions.
Signed-off-by: Vahram Aharonyan <vahrama@synopsys.com>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions