[PATCH v4 05/25] ARM/dmaengine: edma: Move of_dma_controller_register to the dmaengine driver

2015-09-24 Thread Peter Ujfalusi
If the of_dma_controller is registered in the non dmaengine driver we could have race condition: the of_dma_controller has been registered, but the dmaengine driver is not yet probed. Drivers requesting DMA channels during this window will fail since we do not yet have dmaengine drivers

[PATCH v4 05/25] ARM/dmaengine: edma: Move of_dma_controller_register to the dmaengine driver

2015-09-24 Thread Peter Ujfalusi
If the of_dma_controller is registered in the non dmaengine driver we could have race condition: the of_dma_controller has been registered, but the dmaengine driver is not yet probed. Drivers requesting DMA channels during this window will fail since we do not yet have dmaengine drivers