ASoC: Intel: SOF: merge COMETLAKE_LP and COMETLAKE_H
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Wed, 17 Jun 2020 16:47:53 +0000 (11:47 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 17 Jun 2020 19:01:00 +0000 (20:01 +0100)
commit4228668eb936357657046b486207b167caea5175
treea55b8f0ff8153cc3cebf89e740f19e3c81e065f9
parented1220df6e666500ebf58c4f2fccc681941646fb
ASoC: Intel: SOF: merge COMETLAKE_LP and COMETLAKE_H

We already have two configurations for CometLake, and a third one
coming. On other platforms, we used a single Kconfig option, so we
should follow the same trend by merging the two cases in a backwards
compatible way.

The backwards compatibility is handled by overloading the COMETLAKE_LP
kconfig as COMETLAKE. In practice we've never seen a case where
COMETLAKE_H is not selected along with COMETLAKE_LP, so keeping one
of the two is enough.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200617164755.18104-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/hda/intel-dsp-config.c
sound/soc/intel/boards/Kconfig
sound/soc/sof/intel/Kconfig
sound/soc/sof/sof-pci-dev.c