未验证 提交 612c4695 编写于 作者: J Jiaxin Yu 提交者: Mark Brown

ASoC: mediatek: mt6366: support for mt6366 codec

Mt6366 is a new version of mt6358, and they are same about audio part.
So we can reuse the driver of mt6358 that add a new compatible string
inside of the mt6358 driver.
Signed-off-by: NJiaxin Yu <jiaxin.yu@mediatek.com>
Link: https://lore.kernel.org/r/20220523132858.22166-2-jiaxin.yu@mediatek.comSigned-off-by: NMark Brown <broonie@kernel.org>
上级 be1a63da
...@@ -2479,6 +2479,7 @@ static int mt6358_platform_driver_probe(struct platform_device *pdev) ...@@ -2479,6 +2479,7 @@ static int mt6358_platform_driver_probe(struct platform_device *pdev)
static const struct of_device_id mt6358_of_match[] = { static const struct of_device_id mt6358_of_match[] = {
{.compatible = "mediatek,mt6358-sound",}, {.compatible = "mediatek,mt6358-sound",},
{.compatible = "mediatek,mt6366-sound",},
{} {}
}; };
MODULE_DEVICE_TABLE(of, mt6358_of_match); MODULE_DEVICE_TABLE(of, mt6358_of_match);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册