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)
commitb956e74854d0401f89968e5c7364c47a3cc566d4
tree505c23f295f8306977983b3a5b1d821271b55fa4
parent3a8f1bb507b77c6e565463a69be82f7c9577108b
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