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:
parent
fc8d4b2552
commit
89aec97f3d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue