mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-01-22 01:30:35 -05:00
usb: designware: allow maxpktsize >= 1024
Change-Id: I25a1bc2be8e5b4028a360d80411d4e0182a50c99
This commit is contained in:
parent
3dff77460d
commit
c41242615e
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ static struct usb_dw_ep *usb_dw_get_ep(int epnum, enum usb_dw_epdir epdir)
|
|||
|
||||
static uint32_t usb_dw_maxpktsize(int epnum, enum usb_dw_epdir epdir)
|
||||
{
|
||||
return epnum ? DWC_EPCTL(epnum, epdir) & 0x3ff : 64;
|
||||
return epnum ? DWC_EPCTL(epnum, epdir) & 0x7ff : 64;
|
||||
}
|
||||
|
||||
static uint32_t usb_dw_maxxfersize(int epnum, enum usb_dw_epdir epdir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue