summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f417301)
raw | patch | inline | side by side (parent: f417301)
author | Misael Lopez Cruz <misael.lopez@ti.com> | |
Tue, 26 May 2015 04:18:07 +0000 (23:18 -0500) | ||
committer | Misael Lopez Cruz <misael.lopez@ti.com> | |
Thu, 4 Jun 2015 21:00:15 +0000 (16:00 -0500) |
McASP in DRA7xx SoC family (VERSION_4) can use either sDMA
or eDMA. In order to be able to use either DMA controller
make sure their corresponding platform driver is registered.
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
or eDMA. In order to be able to use either DMA controller
make sure their corresponding platform driver is registered.
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
sound/soc/davinci/Kconfig | patch | blob | history | |
sound/soc/davinci/davinci-mcasp.c | patch | blob | history |
index 767f09d79e56d7fc6c46b674e250ffac1e7b2a23..e239b3f9fff40036755767a768dc2f569182345d 100644 (file)
config SND_EDMA_SOC
tristate "SoC Audio for Texas Instruments chips using eDMA (AM33XX/43XX)"
- depends on SOC_AM33XX || SOC_AM43XX
+ depends on SOC_AM33XX || SOC_AM43XX || SOC_DRA7XX
select SND_SOC_GENERIC_DMAENGINE_PCM
help
Say Y or M here if you want audio support for TI SoC which uses eDMA.
index ac8bc037f03ffbf1684057583cb6d1ac9e3625a9..2bd9e6c7990537eeff2ef4266492a3889f682e73 100644 (file)
(IS_MODULE(CONFIG_SND_DAVINCI_SOC_MCASP) && \
IS_MODULE(CONFIG_SND_OMAP_SOC))
case MCASP_VERSION_4:
+ ret = edma_pcm_platform_register(&pdev->dev);
+ if (ret) {
+ dev_err(&pdev->dev, "register eDMA PCM failed: %d\n",
+ ret);
+ goto err;
+ }
+
ret = omap_pcm_platform_register(&pdev->dev);
break;
#endif