]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ARM: davinci: dm365: Fix McBSP dma_slave_map entry
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 30 Aug 2019 10:22:02 +0000 (13:22 +0300)
committerSekhar Nori <nsekhar@ti.com>
Thu, 17 Oct 2019 13:50:22 +0000 (19:20 +0530)
dm365 have only single McBSP, so the device name is without .0

Fixes: 6e814ecd7dc6e ("ARM: davinci: dm365: Add dma_slave_map to edma")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/dm365.c

index 8062412be70f06dc8d252ca45f9f5ff86bba262e..9fc5c73cc0be2d0644036eaa9ed15b9083af7ea5 100644 (file)
@@ -462,8 +462,8 @@ static s8 dm365_queue_priority_mapping[][2] = {
 };
 
 static const struct dma_slave_map dm365_edma_map[] = {
-       { "davinci-mcbsp.0", "tx", EDMA_FILTER_PARAM(0, 2) },
-       { "davinci-mcbsp.0", "rx", EDMA_FILTER_PARAM(0, 3) },
+       { "davinci-mcbsp", "tx", EDMA_FILTER_PARAM(0, 2) },
+       { "davinci-mcbsp", "rx", EDMA_FILTER_PARAM(0, 3) },
        { "davinci_voicecodec", "tx", EDMA_FILTER_PARAM(0, 2) },
        { "davinci_voicecodec", "rx", EDMA_FILTER_PARAM(0, 3) },
        { "spi_davinci.2", "tx", EDMA_FILTER_PARAM(0, 10) },