usb-s3c6400x: Fix some more confusion between DEPCTL_stall and DEPCTL_naksts

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

View file

@ -272,7 +272,7 @@ static void ep_transfer(int ep, void *ptr, int length, int out)
endpoints[ep].busy = true;
endpoints[ep].size = length;
if (out)
DEPCTL(ep, out) &= ~DEPCTL_naksts;
DEPCTL(ep, out) &= ~DEPCTL_stall;
DEPCTL(ep, out) |= DEPCTL_usbactep;
int blocksize = usb_drv_port_speed() ? 512 : 64;
int packets = (length + blocksize - 1) / blocksize;