22 May
2013
22 May
'13
10:54 a.m.
Hi Lars
struct snd_soc_dai_driver ak4554_playback_dai = { .name = "ak4554-playback", .playback = { ... }, }
struct snd_soc_dai_driver ak4554_captrure_dai = { .name = "ak4554-captrure", .capture = { ... }, };
You'll want to put both DAIs into an array which you can pass to snd_soc_register_codec, but otherwise it looks ok.
But, ak4554 needs .symmetric_rates between playback <--> capture. Is it possible ? Or, am I misunderstanding ?
Yes, that won't work, you'd have to implement this by hand.
OK, I understand, thank you.
But do you know why snd_soc_dai_set_fmt() doesn't support "setting for playback/capture only" ? Historical reason or system reason ? Can I try it ?
Best regards --- Kuninori Morimoto