1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Rafaël Carré 2011-12-15 06:44:50 +00:00
parent fc8d4b2552
commit 89aec97f3d

View file

@ -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;
}