usb-srv-as3525v2: backport r31458

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31459 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sparmann 2011-12-28 21:37:04 +00:00
parent 0003018efe
commit 98b38c439e

View file

@ -433,7 +433,7 @@ static void usb_drv_transfer(int ep, void *ptr, int len, bool out)
endpoint->status = -1; endpoint->status = -1;
if (out) if (out)
DEPCTL(ep, out) &= ~DEPCTL_naksts; DEPCTL(ep, out) &= ~DEPCTL_stall;
DEPCTL(ep, out) |= DEPCTL_usbactep; DEPCTL(ep, out) |= DEPCTL_usbactep;
int mps = usb_drv_port_speed() ? 512 : 64; int mps = usb_drv_port_speed() ? 512 : 64;