ASoC: Intel: boards: align Kconfig dependencies for Haswell/Broadwell
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 4 Jan 2018 22:35:57 +0000 (16:35 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 8 Jan 2018 16:19:57 +0000 (16:19 +0000)
Make sure that the same I2C/I2C_DESIGNWARE_PLATFORM are selected.
The latter might actually need to be moved to the SOC side of things,
it really has no place in a machine driver dependency

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/Kconfig

index e926f97..358f8f3 100644 (file)
@@ -40,7 +40,7 @@ config SND_SOC_INTEL_HASWELL_MACH
 
 config SND_SOC_INTEL_BDW_RT5677_MACH
        tristate "ASoC Audio driver for Intel Broadwell with RT5677 codec"
-       depends on X86_INTEL_LPSS && GPIOLIB && I2C
+       depends on X86_INTEL_LPSS && I2C && I2C_DESIGNWARE_PLATFORM && GPIOLIB
        select SND_SOC_RT5677
        help
          This adds support for Intel Broadwell platform based boards with