Skip to contentSkip to conversation

ARM: lager: fixup SND_SOC_DAIFMT_CBx_CFx flags

PATCH In review Kuninori Morimoto 1 participant 1 message Mar 25, 2014

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/6 ARM: lager: fixup SND_SOC_DAIFMT_CBx_CFx flags

From: Kuninori Morimoto <[email protected]>

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.

---
 arch/arm/mach-shmobile/board-lager.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
arch/arm/mach-shmobile/board-lager.c +1 -3
index f0104bf..18c7e03 100644
@@ -588,14 +588,12 @@ static struct asoc_simple_card_info rsnd_card_info = {
 	.card		= "SSI01-AK4643",
 	.codec		= "ak4642-codec.2-0012",
 	.platform	= "rcar_sound",
-	.daifmt		= SND_SOC_DAIFMT_LEFT_J,
+	.daifmt		= SND_SOC_DAIFMT_LEFT_J | SND_SOC_DAIFMT_CBM_CFM,
 	.cpu_dai = {
 		.name	= "rcar_sound",
-		.fmt	= SND_SOC_DAIFMT_CBS_CFS,
 	},
 	.codec_dai = {
 		.name	= "ak4642-hifi",
-		.fmt	= SND_SOC_DAIFMT_CBM_CFM,
 		.sysclk	= 11289600,
 	},
 };
Signature · 1 line
1.7.9.5