summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2011-12-15 06:44:50 +0000
committerRafaël Carré <rafael.carre@gmail.com>2011-12-15 06:44:50 +0000
commit89aec97f3d03ed66637574bfddea36040f94f0aa (patch)
treea55d2da0150e93ae8e6b09f8098e20e5aa1bee27 /firmware/target
parentfc8d4b2552b18335420c0549ee7b2dc0b23efac1 (diff)
usb-s3c6400: 0x10000000 (bit 28) is DEPCTL_setd0pid
fix another mistake introduced in r31222 usb-drv-as3525v2 additionally sets bit DEPCTL_usbactep in this function. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31266 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/usb-s3c6400x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/usb-s3c6400x.c b/firmware/target/arm/usb-s3c6400x.c
index 3c744dbd24..b775497b2b 100644
--- a/firmware/target/arm/usb-s3c6400x.c
+++ b/firmware/target/arm/usb-s3c6400x.c
@@ -112,7 +112,7 @@ int usb_drv_request_endpoint(int type, int dir)
{
endpoints[ep].active = true;
DEPCTL(ep, out) = (DEPCTL(ep, out) & ~(DEPCTL_eptype_bits << DEPCTL_eptype_bitp)) |
- (type << DEPCTL_eptype_bitp) | DEPCTL_epena;
+ (type << DEPCTL_eptype_bitp) | DEPCTL_setd0pid;
return ep | dir;
}