[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190502131214.24009-1-fparent@baylibre.com>
Date: Thu, 2 May 2019 15:12:14 +0200
From: Fabien Parent <fparent@...libre.com>
To: lgirdwood@...il.com, broonie@...nel.org, perex@...ex.cz,
tiwai@...e.com, matthias.bgg@...il.com
Cc: alsa-devel@...a-project.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org,
Fabien Parent <fparent@...libre.com>
Subject: [PATCH v2] ASoC: mediatek: mt8516: register ADDA DAI
Register the ADDA DAI driver into the MT8516 PCM driver.
Signed-off-by: Fabien Parent <fparent@...libre.com>
---
This patch depends on patch serie:
[PATCH 0/5] ASoC: mediatek: Add basic PCM driver for MT8516
v2:
* Register ADDA before memif to fix ordering issue.
---
sound/soc/mediatek/mt8516/mt8516-afe-pcm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/soc/mediatek/mt8516/mt8516-afe-pcm.c b/sound/soc/mediatek/mt8516/mt8516-afe-pcm.c
index 84fbb5dbbd14..dea9221c67aa 100644
--- a/sound/soc/mediatek/mt8516/mt8516-afe-pcm.c
+++ b/sound/soc/mediatek/mt8516/mt8516-afe-pcm.c
@@ -10,6 +10,7 @@
#include <linux/module.h>
#include <linux/of.h>
+#include "mt8516-afe-common.h"
#include "mt8516-afe-regs.h"
#include "../common/mtk-afe-platform-driver.h"
@@ -669,6 +670,7 @@ static int mt8516_dai_memif_register(struct mtk_base_afe *afe)
typedef int (*dai_register_cb)(struct mtk_base_afe *);
static const dai_register_cb dai_register_cbs[] = {
+ mt8516_dai_adda_register,
mt8516_dai_memif_register,
};
--
2.20.1
Powered by blists - more mailing lists