]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: imx_v6_v7_defconfig: enable SND_SOC_SPDIF
authorStefan Eichenberger <stefan.eichenberger@toradex.com>
Fri, 8 Nov 2024 15:34:34 +0000 (16:34 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 9 Dec 2024 09:33:24 +0000 (17:33 +0800)
Enable SND_SOC_SPDIF in imx_v6_v7_defconfig to support SPDIF audio.

With commit d469b771afe1 ("ARM: dts: imx6: update spdif sound card node
properties"), the more generic audio-codec property is used instead of
the old spdif-controller property. Since most i.MX6 boards now use the
audio-codec property together with the linux,spdif-dit and
linux,spdif-dir compatible driver, it makes sense to enable
SND_SOC_SPDIF in the imx_v6_v7_defconfig. This will ensure compatibility
with the updated device tree.

Without this change, boards that use the audio-codec property will show
the following error message during boot when using the
imx_v6_v7_defconfig and spdif audio is not working:
[   24.165534] platform sound-spdif: deferred probe pending: fsl-asoc-card: snd_soc_register_card failed

Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/configs/imx_v6_v7_defconfig

index 0beecdde55f58330494b98ea0f1ecf9c04643e14..f25eadcba5e6de9dc1ebb68fa341287ef7e95345 100644 (file)
@@ -323,6 +323,7 @@ CONFIG_SND_SOC_IMX_SGTL5000=y
 CONFIG_SND_SOC_FSL_ASOC_CARD=y
 CONFIG_SND_SOC_AC97_CODEC=y
 CONFIG_SND_SOC_CS42XX8_I2C=y
+CONFIG_SND_SOC_SPDIF=y
 CONFIG_SND_SOC_TLV320AIC3X_I2C=y
 CONFIG_SND_SOC_WM8960=y
 CONFIG_SND_SOC_WM8962=y