]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: mediatek: add sub dai to mtk_base_afe
authorKaiChieh Chuang <kaichieh.chuang@mediatek.com>
Fri, 25 May 2018 03:48:16 +0000 (11:48 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 25 May 2018 17:34:46 +0000 (18:34 +0100)
commit13be427e5df4cea08c2d48017aabe112400e1b2f
treea2ad2489ddff26786b523debf772cadf492702fd
parent500413c5097d981b1b6e639bf2183abc1db6c24a
ASoC: mediatek: add sub dai to mtk_base_afe

In MediaTek SoC chip we have multiple DAI,
such as I2S, ADDA, PCM, etc.

Organize each DAI in to one sub dai,
with its dai driver, controls, widgets, routes.

add mtk_afe_combine_sub_dai() to combine
dai driver from each DAI.

add mtk_afe_add_sub_dai_control() to register
the control, widget, routes to component.

Signed-off-by: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/common/mtk-afe-platform-driver.c
sound/soc/mediatek/common/mtk-afe-platform-driver.h
sound/soc/mediatek/common/mtk-base-afe.h