]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: fsl-asoc-card: add nau8822 support
authorHui Wang <hui.wang@canonical.com>
Thu, 16 Jun 2022 04:00:45 +0000 (12:00 +0800)
committerMark Brown <broonie@kernel.org>
Sat, 17 Jun 2023 13:13:50 +0000 (14:13 +0100)
commit1075df4bdeb320bbf94a1f6d3761391264eb2c7f
treeaeabe26a1b429f6ba2039fc089cf33e4959625a4
parent320d0e2db9edcde026aac93359624c1d429cb865
ASoC: fsl-asoc-card: add nau8822 support

This is for an imx6sx EVB which has a nau8822 codec connects to the
SSI2 interface, so add the nau8822 support in this machine driver.

Because the codec driver nau8822.c doesn't handle mclk enabling, here
adding a codec_priv->mclk for nau8822 and similar codecs which need to
enable the mclk in the machine driver, and enable the mclk in the
card_late_probe() conditionally.

Signed-off-by: Hui Wang <hui.wang@canonical.com>
Link: https://lore.kernel.org/r/Message-Id:
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl-asoc-card.c