summaryrefslogtreecommitdiffstats
path: root/sound/soc/omap/omap-hdmi-audio.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2018-05-07 10:49:56 +0200
committerMark Brown <broonie@kernel.org>2018-05-09 11:22:00 +0200
commitb1a549c6be09243f20e597d8d3fa007ec412544a (patch)
tree4f070fa9764ad507c65f8eda12929dbf16ea7918 /sound/soc/omap/omap-hdmi-audio.c
parentASoC: omap: Introduce the generic_dmaengine_pcm based sdma-pcm (diff)
downloadlinux-b1a549c6be09243f20e597d8d3fa007ec412544a.tar.xz
linux-b1a549c6be09243f20e597d8d3fa007ec412544a.zip
ASoC: omap-hdmi-audio: Convert to use the sdma-pcm instead of omap-pcm
Use the new platform driver. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/omap/omap-hdmi-audio.c')
-rw-r--r--sound/soc/omap/omap-hdmi-audio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/omap/omap-hdmi-audio.c b/sound/soc/omap/omap-hdmi-audio.c
index 8eeac7cab1c1..8a99a8837dc9 100644
--- a/sound/soc/omap/omap-hdmi-audio.c
+++ b/sound/soc/omap/omap-hdmi-audio.c
@@ -26,9 +26,10 @@
#include <sound/dmaengine_pcm.h>
#include <uapi/sound/asound.h>
#include <sound/asoundef.h>
-#include <sound/omap-pcm.h>
#include <sound/omap-hdmi-audio.h>
+#include "sdma-pcm.h"
+
#define DRV_NAME "omap-hdmi-audio"
struct hdmi_audio_data {
@@ -352,7 +353,7 @@ static int omap_hdmi_audio_probe(struct platform_device *pdev)
if (ret)
return ret;
- ret = omap_pcm_platform_register(ad->dssdev);
+ ret = sdma_pcm_platform_register(ad->dssdev, "audio_tx", NULL);
if (ret)
return ret;