summaryrefslogtreecommitdiff
path: root/drivers/usb/musb
diff options
context:
space:
mode:
authorVahram Aharonyan <vahrama@synopsys.com>2016-11-14 19:16:51 -0800
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-11-18 13:54:48 +0200
commitae79dd5dddb6fa4051c96c7f14116ded9e0dbdd7 (patch)
tree1bde7c88c5ce7e8022682e9df2cb83de4121c79a /drivers/usb/musb
parentf0afdb424162c896e534a70cac858ccb7a516bad (diff)
usb: dwc2: gadget: Correct dwc2_hsotg_ep_stop_xfr() function
Correct dwc2_hsotg_ep_stop_xfr() function to follow dwc2 programming guide for setting NAK on specific endpoint, disabling it and flushing corresponding FIFO. Current code does not take into account whether core acts in shared or dedicated FIFO mode, current endpoint is periodic or not. It does not clear EPDISBLD interrupt after programming of DXEPCTL_EPDIS, does not flush shared TX FIFO and tries to clear global out NAK in wrong manner instead of setting DCTL_CGOUTNAK. 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 'drivers/usb/musb')
0 files changed, 0 insertions, 0 deletions