OSDN Git Service

ASoC: SOF: Intel: hda: Remove conditions against CONFIG_PCI
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fri, 21 May 2021 09:28:04 +0000 (12:28 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 21 May 2021 12:13:41 +0000 (13:13 +0100)
commit9d5536e0e1ca8409665bdd80d951941d5ce19b8a
treeb33fdedfa76c6d1b7581c9bd9bff969e7e8b4fe7
parent4f50f16e9414ea41d5c142fd880faab060472a6b
ASoC: SOF: Intel: hda: Remove conditions against CONFIG_PCI

The HDA support can only be compiled when SND_SOC_SOF_PCI is enabled which
depends on CONFIG_PCI.

This makes the IS_ENABLED(CONFIG_PCI) checks redundant in the code, they
will resolve to true all the time.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20210521092804.3721324-8-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda.c