From 89aec97f3d03ed66637574bfddea36040f94f0aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Thu, 15 Dec 2011 06:44:50 +0000 Subject: [PATCH] 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 --- firmware/target/arm/usb-s3c6400x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }