]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl_spdif: Add support for imx6sx platform
authorShengjiu Wang <shengjiu.wang@nxp.com>
Wed, 17 Jun 2020 06:58:01 +0000 (14:58 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 17 Jun 2020 13:04:06 +0000 (14:04 +0100)
commit4dd88eadcc7b7bc519faa28dcae00dcd1dcf70b0
tree4cca5c0530df5e8d43e8e917784fc86920793870
parenteb50da795d32a0e7ac535e19df1eea6c00a46f88
ASoC: fsl_spdif: Add support for imx6sx platform

The one difference on imx6sx platform is that the root clock
is shared with ASRC module, so we add a new flags
"shared_root_clock" which means the root clock is not independent,
then we will not do the clk_set_rate and clk_round_rate to avoid
impact ASRC module usage.

As add a new flags, we include the soc specific data struct.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Nicolin Chen <nicoleotsuka@gmail.com>
Link: https://lore.kernel.org/r/7a343edd5f8487abad248a0b862f45fd95067751.1592376770.git.shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_spdif.c