ARM: imx_v6_v7_defconfig: enable SND_SOC_SPDIF
Subsystems (2)
PATCH v2 1/1 ARM: imx_v6_v7_defconfig: enable SND_SOC_SPDIF
From: Stefan Eichenberger <[email protected]>
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
---
Changes in v2:
- Improve the commit message. (Stefan)
- Removed the fixed tag because it is not fix. It just improves the example configuration. (Stefan)
arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/imx_v6_v7_defconfig +1 -0
@@ -321,6 +321,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
Signature · 1 line
2.43.0
Shawn Guo
AppliedQuoted 12 lines · Stefan Eichenberger
From: Stefan Eichenberger <[email protected]>
Enable
SND_SOC_SPDIFinimx_v6_v7_defconfigto 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 enableSND_SOC_SPDIFin theimx_v6_v7_defconfig. This will ensure compatibility with the updated device tree.
Quoted 6 lines
Without this change, boards that use the audio-codec property will show the following error message during boot when using the
imx_v6_v7_defconfigand spdif audio is not working:[ 24.165534] platform sound-spdif: deferred probe pending: fsl-asoc-card: snd_soc_register_card failedSigned-off-by Stefan Eichenberger <[email protected]>
Applied, thanks!