mbox series

[0/3] usb: host: fotg210: fix malfunctions in usb camera scenario

Message ID 20210627125747.127646-1-kelly.devilliv@gmail.com
Headers show
Series usb: host: fotg210: fix malfunctions in usb camera scenario | expand

Message

Kelly Devilliv June 27, 2021, 12:57 p.m. UTC
Hi :-)

Currently, I tried to support usb camera on the fotg210 host
controller but came across a few issues, for example system
crash, video streaming error, etc. As fotg210 is an ehci-like
controller, I borrowed some ideas from the ehci-hcd driver,
and at least the usb camera can work now.

By the way, the fotg210-hcd driver seems a bit out of date,
is there any plan to update it based on the latest ehci-hcd
driver?

Thank you!

Kelly Devilliv (3):
  Revert "usb: host: fotg210: Use dma_pool_zalloc"
  usb: host: fotg210: fix the endpoint's transactional opportunities
    calculation
  usb: host: fotg210: fix the actual_length of an iso packet

 drivers/usb/host/fotg210-hcd.c | 48 +++++++++++++++++-----------------
 drivers/usb/host/fotg210.h     |  5 ----
 2 files changed, 24 insertions(+), 29 deletions(-)

Comments

Greg KH July 21, 2021, 8:03 a.m. UTC | #1
On Sun, Jun 27, 2021 at 08:57:44PM +0800, Kelly Devilliv wrote:
> Hi :-)

> 

> Currently, I tried to support usb camera on the fotg210 host

> controller but came across a few issues, for example system

> crash, video streaming error, etc. As fotg210 is an ehci-like

> controller, I borrowed some ideas from the ehci-hcd driver,

> and at least the usb camera can work now.

> 

> By the way, the fotg210-hcd driver seems a bit out of date,

> is there any plan to update it based on the latest ehci-hcd

> driver?


No idea, feel free to send changes to fix it up!

thanks,

greg k-h