Commit 6fa387b2 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ARM: bockw: fixup SND_SOC_DAIFMT_CBx_CFx flags

SND_SOC_DAIFMT_CBx_CFx means "codec" side master/slave mode.
Then, rcar will be master mode if it was SND_SOC_DAIFMT_CBS_CFS.
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 313c84b2
...@@ -429,14 +429,12 @@ static struct asoc_simple_card_info rsnd_card_info[] = { ...@@ -429,14 +429,12 @@ static struct asoc_simple_card_info rsnd_card_info[] = {
.card = "SSI56-AK4643", .card = "SSI56-AK4643",
.codec = "ak4642-codec.0-0012", .codec = "ak4642-codec.0-0012",
.platform = "rcar_sound", .platform = "rcar_sound",
.daifmt = SND_SOC_DAIFMT_LEFT_J, .daifmt = SND_SOC_DAIFMT_LEFT_J | SND_SOC_DAIFMT_CBM_CFM,
.cpu_dai = { .cpu_dai = {
.name = "rsnd-dai.0", .name = "rsnd-dai.0",
.fmt = SND_SOC_DAIFMT_CBS_CFS,
}, },
.codec_dai = { .codec_dai = {
.name = "ak4642-hifi", .name = "ak4642-hifi",
.fmt = SND_SOC_DAIFMT_CBM_CFM,
.sysclk = 11289600, .sysclk = 11289600,
}, },
}, },
...@@ -446,10 +444,9 @@ static struct asoc_simple_card_info rsnd_card_info[] = { ...@@ -446,10 +444,9 @@ static struct asoc_simple_card_info rsnd_card_info[] = {
.card = "SSI3-AK4554(playback)", .card = "SSI3-AK4554(playback)",
.codec = "ak4554-adc-dac.0", .codec = "ak4554-adc-dac.0",
.platform = "rcar_sound", .platform = "rcar_sound",
.daifmt = SND_SOC_DAIFMT_CBS_CFS | SND_SOC_DAIFMT_RIGHT_J,
.cpu_dai = { .cpu_dai = {
.name = "rsnd-dai.1", .name = "rsnd-dai.1",
.fmt = SND_SOC_DAIFMT_CBM_CFM |
SND_SOC_DAIFMT_RIGHT_J,
}, },
.codec_dai = { .codec_dai = {
.name = "ak4554-hifi", .name = "ak4554-hifi",
...@@ -461,10 +458,9 @@ static struct asoc_simple_card_info rsnd_card_info[] = { ...@@ -461,10 +458,9 @@ static struct asoc_simple_card_info rsnd_card_info[] = {
.card = "SSI4-AK4554(capture)", .card = "SSI4-AK4554(capture)",
.codec = "ak4554-adc-dac.0", .codec = "ak4554-adc-dac.0",
.platform = "rcar_sound", .platform = "rcar_sound",
.daifmt = SND_SOC_DAIFMT_CBS_CFS | SND_SOC_DAIFMT_LEFT_J,
.cpu_dai = { .cpu_dai = {
.name = "rsnd-dai.2", .name = "rsnd-dai.2",
.fmt = SND_SOC_DAIFMT_CBM_CFM |
SND_SOC_DAIFMT_LEFT_J,
}, },
.codec_dai = { .codec_dai = {
.name = "ak4554-hifi", .name = "ak4554-hifi",
...@@ -476,10 +472,9 @@ static struct asoc_simple_card_info rsnd_card_info[] = { ...@@ -476,10 +472,9 @@ static struct asoc_simple_card_info rsnd_card_info[] = {
.card = "SSI7-AK4554(playback)", .card = "SSI7-AK4554(playback)",
.codec = "ak4554-adc-dac.1", .codec = "ak4554-adc-dac.1",
.platform = "rcar_sound", .platform = "rcar_sound",
.daifmt = SND_SOC_DAIFMT_CBS_CFS | SND_SOC_DAIFMT_RIGHT_J,
.cpu_dai = { .cpu_dai = {
.name = "rsnd-dai.3", .name = "rsnd-dai.3",
.fmt = SND_SOC_DAIFMT_CBM_CFM |
SND_SOC_DAIFMT_RIGHT_J,
}, },
.codec_dai = { .codec_dai = {
.name = "ak4554-hifi", .name = "ak4554-hifi",
...@@ -491,10 +486,9 @@ static struct asoc_simple_card_info rsnd_card_info[] = { ...@@ -491,10 +486,9 @@ static struct asoc_simple_card_info rsnd_card_info[] = {
.card = "SSI8-AK4554(capture)", .card = "SSI8-AK4554(capture)",
.codec = "ak4554-adc-dac.1", .codec = "ak4554-adc-dac.1",
.platform = "rcar_sound", .platform = "rcar_sound",
.daifmt = SND_SOC_DAIFMT_CBS_CFS | SND_SOC_DAIFMT_LEFT_J,
.cpu_dai = { .cpu_dai = {
.name = "rsnd-dai.4", .name = "rsnd-dai.4",
.fmt = SND_SOC_DAIFMT_CBM_CFM |
SND_SOC_DAIFMT_LEFT_J,
}, },
.codec_dai = { .codec_dai = {
.name = "ak4554-hifi", .name = "ak4554-hifi",
......
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