@@ -727,6 +727,12 @@ static int fsl_asoc_card_probe(struct platform_device *pdev)
(u32 *)&priv->cpu_priv.sysclk_freq[RX]);
of_property_read_u32(np, "cpu-sysclk-freq-tx",
(u32 *)&priv->cpu_priv.sysclk_freq[TX]);
+ priv->cpu_priv.sysclk_dir[RX] =
+ of_property_read_bool(np, "cpu-sysclk-dir-rx-out") ?
+ SND_SOC_CLOCK_OUT : SND_SOC_CLOCK_IN;
+ priv->cpu_priv.sysclk_dir[TX] =
+ of_property_read_bool(np, "cpu-sysclk-dir-tx-out") ?
+ SND_SOC_CLOCK_OUT : SND_SOC_CLOCK_IN;
} else {
dev_err(&pdev->dev, "unknown Device Tree compatible\n");
ret = -EINVAL;