]> git.karo-electronics.de Git - linux-beck.git/commit
usb: dwc3: ep0: drop XferNotReady(DATA) support
authorFelipe Balbi <balbi@ti.com>
Thu, 19 Jul 2012 06:26:59 +0000 (09:26 +0300)
committerFelipe Balbi <balbi@ti.com>
Fri, 3 Aug 2012 06:28:26 +0000 (09:28 +0300)
commit2e3db064855a637c45f7e011214f15bc536e61ad
tree7200557710cb76dfbf30ba083d732d9ef3de9243
parentfca8892ae552668e726ec9dad6ba7a26743e9a09
usb: dwc3: ep0: drop XferNotReady(DATA) support

Due to the late Silicon limitation found, we are
now pre-starting DATA phase's TRBs. If, still, we
get XferNotReady(DATA) we will ignore it unless
we're getting it for the wrong direction.

In that case we must keep the error case handling
plus add a ENDTRANSFER command to forcefully end
the Data TRB we started previously, then continue
to SetStall and so on.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/ep0.c