Skip to content

Commit 03d0f97

Browse files
lucaceresolibroonie
authored andcommitted
ASoC: clarify that SND_SOC_IMX_SGTL5000 is the old driver
Both SND_SOC_IMX_SGTL5000 and SND_SOC_FSL_ASOC_CARD implement the fsl,imx-audio-sgtl5000 compatible string, which is confusing. It took a little research to find out that the latter is much newer and it is supposed to be the preferred choice since several years. Add a clarification note to avoid wasting time for future readers. Signed-off-by: Luca Ceresoli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent fe15c26 commit 03d0f97

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sound/soc/fsl/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,10 @@ config SND_SOC_IMX_SGTL5000
294294
Say Y if you want to add support for SoC audio on an i.MX board with
295295
a sgtl5000 codec.
296296

297+
Note that this is an old driver. Consider enabling
298+
SND_SOC_FSL_ASOC_CARD and SND_SOC_SGTL5000 to use the newer
299+
driver.
300+
297301
config SND_SOC_IMX_SPDIF
298302
tristate "SoC Audio support for i.MX boards with S/PDIF"
299303
select SND_SOC_IMX_PCM_DMA

0 commit comments

Comments
 (0)