28 Jan
2015
28 Jan
'15
12:52 a.m.
Hi Lars
I guess if you want to use common .daifmt, it should be same as "codec" side. (cpu side "S" means, codec / daifmt side "M") So, this mean above should be
@@ -1040,9 +1040,9 @@ static struct asoc_simple_card_info fsi2_hdmi_info = { .card = "FSI2B-HDMI", .codec = "sh-mobile-hdmi", .platform = "sh_fsi2",
- .daifmt = SND_SOC_DAIFMT_CBM_CFM, <= .cpu_dai = { .name = "fsib-dai",
},.fmt = SND_SOC_DAIFMT_CBS_CFS,
Right now the CPU is configured as master, with your proposed change it would be configured as slave. These flags are always from the CODEC's perspective.
I see, your patch was correct for CPU = Master