mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/8] USB ehci/chipidea fixes
@ 2018-10-26  9:33 Sascha Hauer
  2018-10-26  9:33 ` [PATCH 1/8] usb: gadget: fsl_udc: Drop using global variable Sascha Hauer
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Sascha Hauer @ 2018-10-26  9:33 UTC (permalink / raw)
  To: Barebox List

This series fixes messages seen on i.MX when multiple chipidea
instances are registered:

ERROR: imx-usb 53f80000.usb: gadget not registered.

While I originally thought this is a simple one it turned out there
are several things wrong in the ehci/chipidea (un)registration code.
Most notably the ehci controllers were often not properly quiesced when
leaving barebox.

Sascha

Sascha Hauer (8):
  usb: gadget: fsl_udc: Drop using global variable
  usb: host: ehci: rename ehci_priv to ehci_host
  usb: Add usb_unregister_host()
  usb: host: ehci: add ehci_unregister()
  usb: host: ehci: do not use dev->priv
  usb: host: ehci-atmel: unregister host on device remove
  usb: imx: unregister ehci controller on device removal
  usb: gadget: fsl_udc: pass controller instance to unregister

 drivers/usb/core/usb.c         |  5 +++
 drivers/usb/gadget/fsl_udc.c   | 69 +++++++++++++++++------------
 drivers/usb/host/ehci-atmel.c  | 24 +++++++++-
 drivers/usb/host/ehci-hcd.c    | 80 +++++++++++++++++++++-------------
 drivers/usb/imx/chipidea-imx.c | 39 ++++++++++++++---
 include/usb/ehci.h             | 20 +++++++--
 include/usb/fsl_usb2.h         |  6 ++-
 include/usb/usb.h              |  1 +
 8 files changed, 174 insertions(+), 70 deletions(-)

-- 
2.19.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-10-26  9:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-26  9:33 [PATCH 0/8] USB ehci/chipidea fixes Sascha Hauer
2018-10-26  9:33 ` [PATCH 1/8] usb: gadget: fsl_udc: Drop using global variable Sascha Hauer
2018-10-26  9:33 ` [PATCH 2/8] usb: host: ehci: rename ehci_priv to ehci_host Sascha Hauer
2018-10-26  9:33 ` [PATCH 3/8] usb: Add usb_unregister_host() Sascha Hauer
2018-10-26  9:33 ` [PATCH 4/8] usb: host: ehci: add ehci_unregister() Sascha Hauer
2018-10-26  9:33 ` [PATCH 5/8] usb: host: ehci: do not use dev->priv Sascha Hauer
2018-10-26  9:33 ` [PATCH 6/8] usb: host: ehci-atmel: unregister host on device remove Sascha Hauer
2018-10-26  9:33 ` [PATCH 7/8] usb: imx: unregister ehci controller on device removal Sascha Hauer
2018-10-26  9:33 ` [PATCH 8/8] usb: gadget: fsl_udc: pass controller instance to unregister Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox