[PATCH 0/7] Fix the fotg210-udc driver

From
Fabian Vogt <hidden>
Date
2021-03-24 14:12:23
Moin!

USB is the main way of communicating with the TI Nspire CX II calculators,
so supporting the controller in Linux is necessary to make the port
somewhat useful. While implementing support for the specific controller
model inside, I found and fixed various bugs in this driver. Most of them
are part of the original driver code already and are so severe, that I
seriously wonder whether anyone actually used this driver ever.

With this series applied and some CX II specific commits on top, the
driver works fine for both USB serial and ethernet here.

The CX II support patches build upon this series, to avoid bigger
reiterations I'll submit them once this series got some positive feedback.

Cheers,
Fabian

To: Felipe Balbi <balbi@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Yuan-Hsin Chen <redacted>
CC: <redacted>

Fabian Vogt (7):
  fotg210-udc: Fix DMA on EP0 for length > max packet size
  fotg210-udc: Fix EP0 IN requests bigger than two packets
  fotg210-udc: Remove a dubious condition leading to fotg210_done
  fotg210-udc: Mask GRP2 interrupts we don't handle
  fotg210-udc: Call usb_gadget_udc_reset
  fotg210-udc: Don't DMA more than the buffer can take
  fotg210-udc: Complete OUT requests on short packets

 drivers/usb/gadget/udc/fotg210-udc.c | 28 ++++++++++++++++++++--------
 1 file changed, 20 insertions(+), 8 deletions(-)

-- 
2.25.1
Thread (8 messages) 8 messages, 1 author, last reply 2021-03-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help