ASoC: fsl: select FSL_SSI or FSL_SAI depending on selected SOC types
authorLothar Waßmann <LW@KARO-electronics.de>
Fri, 4 Dec 2015 12:41:31 +0000 (13:41 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 4 Dec 2015 12:41:31 +0000 (13:41 +0100)
sound/soc/fsl/Kconfig

index 19c302b..82f5e6b 100644 (file)
@@ -258,7 +258,8 @@ config SND_SOC_IMX_SGTL5000
        select SND_SOC_SGTL5000
        select SND_SOC_IMX_PCM_DMA
        select SND_SOC_IMX_AUDMUX
-       select SND_SOC_FSL_SSI
+       select SND_SOC_FSL_SAI if SOC_IMX6SX || SOC_IMX6UL
+       select SND_SOC_FSL_SSI if SOC_IMX6Q || SOC_IMX6SL
        help
          Say Y if you want to add support for SoC audio on an i.MX board with
          a sgtl5000 codec.