diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2014-03-13 20:56:25 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-14 15:30:59 -0400 |
commit | c7a507eea1db1430476289f525f9c853d5d485e8 (patch) | |
tree | 81c0c245a118e9ffc8d06409f1f9570ba2fe2567 /arch/arm/mach-shmobile/board-mackerel.c | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) |
ASoC: fsi: fixup SND_SOC_DAIFMT_CBx_CFx flags
SND_SOC_DAIFMT_CBx_CFx means "codec" side master/slave mode.
Then, FSI will be master mode if it was SND_SOC_DAIFMT_CBS_CFS.
This patch fixup platform settings too.
Then, it tidyups SND_SOC_DAIFMT_INV settings.
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'arch/arm/mach-shmobile/board-mackerel.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-mackerel.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index 3aba0372f630..8c4332182b42 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c | |||
@@ -509,9 +509,9 @@ static struct asoc_simple_card_info fsi2_hdmi_info = { | |||
509 | .card = "FSI2B-HDMI", | 509 | .card = "FSI2B-HDMI", |
510 | .codec = "sh-mobile-hdmi", | 510 | .codec = "sh-mobile-hdmi", |
511 | .platform = "sh_fsi2", | 511 | .platform = "sh_fsi2", |
512 | .fmt = SND_SOC_DAIFMT_CBS_CFS, | ||
512 | .cpu_dai = { | 513 | .cpu_dai = { |
513 | .name = "fsib-dai", | 514 | .name = "fsib-dai", |
514 | .fmt = SND_SOC_DAIFMT_CBM_CFM | SND_SOC_DAIFMT_IB_NF, | ||
515 | }, | 515 | }, |
516 | .codec_dai = { | 516 | .codec_dai = { |
517 | .name = "sh_mobile_hdmi-hifi", | 517 | .name = "sh_mobile_hdmi-hifi", |
@@ -905,14 +905,12 @@ static struct asoc_simple_card_info fsi2_ak4643_info = { | |||
905 | .card = "FSI2A-AK4643", | 905 | .card = "FSI2A-AK4643", |
906 | .codec = "ak4642-codec.0-0013", | 906 | .codec = "ak4642-codec.0-0013", |
907 | .platform = "sh_fsi2", | 907 | .platform = "sh_fsi2", |
908 | .daifmt = SND_SOC_DAIFMT_LEFT_J, | 908 | .daifmt = SND_SOC_DAIFMT_LEFT_J | SND_SOC_DAIFMT_CBM_CFM, |
909 | .cpu_dai = { | 909 | .cpu_dai = { |
910 | .name = "fsia-dai", | 910 | .name = "fsia-dai", |
911 | .fmt = SND_SOC_DAIFMT_CBS_CFS, | ||
912 | }, | 911 | }, |
913 | .codec_dai = { | 912 | .codec_dai = { |
914 | .name = "ak4642-hifi", | 913 | .name = "ak4642-hifi", |
915 | .fmt = SND_SOC_DAIFMT_CBM_CFM, | ||
916 | .sysclk = 11289600, | 914 | .sysclk = 11289600, |
917 | }, | 915 | }, |
918 | }; | 916 | }; |