@@ -181,6 +181,7 @@ static int simple_link_init(struct asoc_simple_priv *priv,
{
struct device *dev = simple_priv_to_dev(priv);
struct snd_soc_dai_link *dai_link = simple_priv_to_link(priv, li->link);
+ char prop[128];
int ret;
ret = asoc_simple_parse_daifmt(dev, node, codec,
@@ -188,6 +189,9 @@ static int simple_link_init(struct asoc_simple_priv *priv,
if (ret < 0)
return 0;
+ snprintf(prop, sizeof(prop), "%ssymmetric-clock-roles", prefix);
+ dai_link->symmetric_clock_roles = of_property_read_bool(node, prop);
+
dai_link->init = asoc_simple_dai_init;
dai_link->ops = &simple_ops;