Commit b0c9351
usb: musb: da8xx: Add special endpoint config for ev3dev
The lms2012 software expects USB to be able to handle 1024 byte packets
on USB ep1. There is no existing configuration for this in the kernel,
so we have to add our own.
The maxpacket values come from the official LEGO firmware source code:
https://github.com/mindboards/ev3sources/blob/master/extra/linux-03.20.00.13/drivers/usb/musb/musb_core.c#L1065
Issue: ev3dev/lms2012-compat#491 parent bb44377 commit b0c9351
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
501 | 512 | | |
| 513 | + | |
| 514 | + | |
502 | 515 | | |
503 | 516 | | |
504 | 517 | | |
| |||
0 commit comments