[PATCH v5 11/21] usb: dwc2: host: Use periodic interrupt even with DMA

2016-01-22 Thread Douglas Anderson
The old code in dwc2_process_periodic_channels() would only enable the "periodic empty" interrupt if we weren't using DMA. That wasn't right since we can still get into cases where we have small FIFOs even on systems that have DMA (the rk3288 is a prime example). Let's always enable/disable the

[PATCH v5 11/21] usb: dwc2: host: Use periodic interrupt even with DMA

2016-01-22 Thread Douglas Anderson
The old code in dwc2_process_periodic_channels() would only enable the "periodic empty" interrupt if we weren't using DMA. That wasn't right since we can still get into cases where we have small FIFOs even on systems that have DMA (the rk3288 is a prime example). Let's always enable/disable the