ASoC: intel: kconfig - Move DW_DMAC_CORE dependency to machines
authorVinod Koul <vinod.koul@intel.com>
Fri, 19 Jun 2015 18:25:27 +0000 (23:55 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 8 Jul 2015 18:23:42 +0000 (19:23 +0100)
Some HSW and BYT machines depend on the DW_DMAC_CORE so they should
have have depends on this symbol rather than common IPC lib as SKL
onwards IPC lib is used but we don't depend on DW_DMAC_CORE

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/Kconfig

index f3060a4ca040b5b9339221f9c701b47ced365afc..6f9a54af9c643a38ff6affdc362c6605d71ce01b 100644 (file)
@@ -29,7 +29,6 @@ config SND_SOC_INTEL_SST
        tristate "ASoC support for Intel(R) Smart Sound Technology"
        select SND_SOC_INTEL_SST_ACPI if ACPI
        depends on (X86 || COMPILE_TEST)
-       depends on DW_DMAC_CORE
        help
           This adds support for Intel(R) Smart Sound Technology (SST).
           Say Y if you have such a device
@@ -48,6 +47,7 @@ config SND_SOC_INTEL_HASWELL_MACH
        tristate "ASoC Audio DSP support for Intel Haswell Lynxpoint"
        depends on SND_SOC_INTEL_SST && X86_INTEL_LPSS && I2C && \
                   I2C_DESIGNWARE_PLATFORM
+       depends on DW_DMAC_CORE
        select SND_SOC_INTEL_HASWELL
        select SND_SOC_RT5640
        help
@@ -59,6 +59,7 @@ config SND_SOC_INTEL_HASWELL_MACH
 config SND_SOC_INTEL_BYT_RT5640_MACH
        tristate "ASoC Audio driver for Intel Baytrail with RT5640 codec"
        depends on SND_SOC_INTEL_SST && X86_INTEL_LPSS && I2C
+       depends on DW_DMAC_CORE
        select SND_SOC_INTEL_BAYTRAIL
        select SND_SOC_RT5640
        help
@@ -68,6 +69,7 @@ config SND_SOC_INTEL_BYT_RT5640_MACH
 config SND_SOC_INTEL_BYT_MAX98090_MACH
        tristate "ASoC Audio driver for Intel Baytrail with MAX98090 codec"
        depends on SND_SOC_INTEL_SST && X86_INTEL_LPSS && I2C
+       depends on DW_DMAC_CORE
        select SND_SOC_INTEL_BAYTRAIL
        select SND_SOC_MAX98090
        help
@@ -78,6 +80,7 @@ config SND_SOC_INTEL_BROADWELL_MACH
        tristate "ASoC Audio DSP support for Intel Broadwell Wildcatpoint"
        depends on SND_SOC_INTEL_SST && X86_INTEL_LPSS && DW_DMAC && \
                   I2C_DESIGNWARE_PLATFORM
+       depends on DW_DMAC_CORE
        select SND_SOC_INTEL_HASWELL
        select SND_SOC_RT286
        help