Commit 2c280320 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: fsi-ak4642/fsi-da7210: modify dai link settings for card detect

This patch modify dai link
- platform_name: sh_fsi/sh_fsi2 are used for FSI driver
- codec_name: ak4642/ak4643 are used for ak4642 driver

This is quick hack. I should modify it more wisely in future
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 7522948b
......@@ -31,8 +31,13 @@ static struct snd_soc_dai_link fsi_dai_link = {
.stream_name = "AK4642",
.cpu_dai_name = "fsia-dai", /* fsi A */
.codec_dai_name = "ak4642-hifi",
.platform_name = "fsi-pcm-audio",
#ifdef CONFIG_MACH_AP4EVB
.platform_name = "sh_fsi2.0",
.codec_name = "ak4642-codec.0-0013",
#else
.platform_name = "sh_fsi.0",
.codec_name = "ak4642-codec.0-0012",
#endif
.init = fsi_ak4642_dai_init,
.ops = NULL,
};
......
......@@ -27,7 +27,7 @@ static struct snd_soc_dai_link fsi_da7210_dai = {
.stream_name = "DA7210",
.cpu_dai_name = "fsib-dai", /* FSI B */
.codec_dai_name = "da7210-hifi",
.platform_name = "fsi-pcm-audio",
.platform_name = "sh_fsi.0",
.codec_name = "da7210-codec.0-001a",
.init = fsi_da7210_init,
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment