Commit 84a62b32 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Kleber Sacilotto de Souza

dmaengine: edma: Add probe callback to edma_tptc_driver

BugLink: https://bugs.launchpad.net/bugs/1878232

commit 4fa2d09c upstream.

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: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Fixes: 34635b1a ("dmaengine: edma: Add dummy driver skeleton for edma3-tptc")
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarIan May <ian.may@canonical.com>
Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
parent 3acdaf21
...@@ -2439,7 +2439,13 @@ static struct platform_driver edma_driver = { ...@@ -2439,7 +2439,13 @@ static struct platform_driver edma_driver = {
}, },
}; };
static int edma_tptc_probe(struct platform_device *pdev)
{
return 0;
}
static struct platform_driver edma_tptc_driver = { static struct platform_driver edma_tptc_driver = {
.probe = edma_tptc_probe,
.driver = { .driver = {
.name = "edma3-tptc", .name = "edma3-tptc",
.of_match_table = edma_tptc_of_ids, .of_match_table = edma_tptc_of_ids,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment