ASoC: fsl_sai: Set MCLK input or output direction
authorShengjiu Wang <shengjiu.wang@nxp.com>
Thu, 17 Sep 2020 06:11:19 +0000 (14:11 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 17 Sep 2020 15:34:01 +0000 (16:34 +0100)
commita57d4e8730c1a55b2547ff81aef4753b67121cb8
tree505c23f295f8306977983b3a5b1d821271b55fa4
parent1dc658b13c1c365274b27bfc3c4d4f2955348fb8
ASoC: fsl_sai: Set MCLK input or output direction

SAI support select MCLK direction with version.major > 3
and version.minor > 1, the default direction is input,
set it to be output according to DT property.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/1600323079-5317-4-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_sai.c