summaryrefslogtreecommitdiff
path: root/arch/hexagon
diff options
context:
space:
mode:
authorPratyush Anand <pratyush.anand@st.com>2013-01-14 15:59:34 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-04 06:03:32 +0800
commit3f08ff607d29c29c63e90bc650356aa476e5054d (patch)
treedd665b58c4e7839adf8cf8ab763ff2e0191bb447 /arch/hexagon
parent2f097fdb6b0d09084143d38fc43db86937610324 (diff)
usb: dwc3: gadget: fix isoc END TRANSFER Condition
commit cdc359dd87ab6c39a67dab724fd0b61c16e6f08b upstream. There were still some corner cases where isoc transfer was not able to restart, specially when missed isoc does not happen , and in fact gadget does not queue any new request during giveback. Cleanup function calls giveback first, which provides a way to queue another request to gadget. But gadget did not had any data. So , it did not call ep_queue. To twist it further, gadget did not queue till cleanup for last queued TRB is called. If we ever reach this scenario, we must call END TRANSFER, so that we receive a new xfernotready with information about current microframe number. Also insure that there is no request submitted to core when issuing END TRANSFER. Signed-off-by: Pratyush Anand <pratyush.anand@st.com> Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/hexagon')
0 files changed, 0 insertions, 0 deletions