dmaengine: edma: Add probe callback to edma_tptc_driver
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 16 Dec 2015 13:19:05 +0000 (15:19 +0200)
committerVinod Koul <vinod.koul@intel.com>
Fri, 18 Dec 2015 05:33:11 +0000 (11:03 +0530)
commit4fa2d09c1ae879c2ee2760ab419a4f97026dd97b
tree0d1b8d74c271187ff919186ced1f713264f42b05
parent2b574ba9c50a06a1aa6cf908cd44119367111006
dmaengine: edma: Add probe callback to edma_tptc_driver

Due to changes in device and platform code drivers w/o probe will fail to
load. This means that the devices for eDMA TPTCs are goign to be without
driver and omap hwmod code will turn them off after the kernel finished
loading:
[    3.015900] platform 49800000.tptc: omap_device_late_idle: enabled but no driver.  Idling
[    3.024671] platform 49a00000.tptc: omap_device_late_idle: enabled but no driver.  Idling

This will prevent eDMA to work since the TPTCs are not enabled.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Fixes: 34635b1accb9 ("dmaengine: edma: Add dummy driver skeleton for edma3-tptc")
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/edma.c