On Tue, Oct 13, 2015 at 09:01:08AM +0800, Shunqian Zheng wrote:Yes, simple-card works fine, I think I need to learn more and resend patches.
From: ZhengShunQian <zhengsq@xxxxxxxxxxxxxx>Like Sjoerd said this looks like it migh be better just using
This patch add the machine driver for rk3036.
simple-card, if not...
+ ret = snd_soc_dai_set_fmt(codec_dai, dai_fmt);Set this in the dai_link struct.
+ if (ret < 0)
+ return ret;
+
+ /* set cpu DAI configuration */
+ ret = snd_soc_dai_set_fmt(cpu_dai, dai_fmt);