Everyone: This series is a number of improvements (or so I though) I made while woring with USB on i.MX6. All of the patches are optional, so if some of the changes don't seem like an improvmement they can be dropped. Feedback is welcome! Thanks, Andrey Smirnov Andrey Smirnov (18): usb: host: ehci: Do not zero out DMA coherent memory usb: host: ehci: Share code to enable/disable async schedule usb: host: ehci: Use to USBSTS to wait for transfer completion usb: host: ehci: Replace magic number with macros usb: host: ehci: Drop unnecessary cleanup code usb: host: ehci: Introduce ehci_prepare_qtd() usb: host: ehci: Simplify qTD buffer synchronization usb: host: ehci: Simplify ehci_td_buffer() usb: host: ehci: Initialize qTDs explicitly usb: host: ehci: Simplify ehci_submit_async()'s epilogue usb: host: ehci: Drop needless assignments in ehci_submit_async() usb: host: ehci: Use bool to simplify ehci_submit_async() usb: host: ehci: Add a comment explaing IOC setting for data usb: host: ehci: Replace explicit printf() with dev_err() usb: host: ehci: Drop explicit memset() in ehci_init() usb: host: ehci: Treat ehci->qh_list as an array ush: host: ehci: Simplify QH initialization in ehci_submit_async() usb: host: ehci: Allocate only NUM_QH queue heads for qh_list drivers/usb/host/ehci-hcd.c | 377 +++++++++++++++++++----------------- drivers/usb/host/ehci.h | 52 +++-- 2 files changed, 242 insertions(+), 187 deletions(-) -- 2.21.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox