diff options
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/usb-s3c6400x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/usb-s3c6400x.c b/firmware/target/arm/usb-s3c6400x.c index beac2376fa..1bd02f9e51 100644 --- a/firmware/target/arm/usb-s3c6400x.c +++ b/firmware/target/arm/usb-s3c6400x.c | |||
@@ -272,7 +272,7 @@ static void ep_transfer(int ep, void *ptr, int length, int out) | |||
272 | endpoints[ep].busy = true; | 272 | endpoints[ep].busy = true; |
273 | endpoints[ep].size = length; | 273 | endpoints[ep].size = length; |
274 | if (out) | 274 | if (out) |
275 | DEPCTL(ep, out) &= ~DEPCTL_naksts; | 275 | DEPCTL(ep, out) &= ~DEPCTL_stall; |
276 | DEPCTL(ep, out) |= DEPCTL_usbactep; | 276 | DEPCTL(ep, out) |= DEPCTL_usbactep; |
277 | int blocksize = usb_drv_port_speed() ? 512 : 64; | 277 | int blocksize = usb_drv_port_speed() ? 512 : 64; |
278 | int packets = (length + blocksize - 1) / blocksize; | 278 | int packets = (length + blocksize - 1) / blocksize; |