summaryrefslogtreecommitdiffstats
path: root/sound/soc/tegra/tegra210_dmic.h
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>2023-04-04 12:21:07 +0300
committerMark Brown <broonie@kernel.org>2023-04-04 12:42:35 +0100
commit4a3b1433a8d384ff8d668b4f8665d6c67dbb30d3 (patch)
tree3da4bba5974f51ef50da7ab699654a30877404e7 /sound/soc/tegra/tegra210_dmic.h
parent28d40e7adfd4108c11c9397c6fe9d9f80fed31e9 (diff)
downloadlinux-stable-4a3b1433a8d384ff8d668b4f8665d6c67dbb30d3.tar.gz
linux-stable-4a3b1433a8d384ff8d668b4f8665d6c67dbb30d3.tar.bz2
linux-stable-4a3b1433a8d384ff8d668b4f8665d6c67dbb30d3.zip
ASoC: SOF: Intel: hda: Skip interfaces not supported on a platform
Not all interfaces (SSP/DMIC/HDA/SDW) are available on all platforms. If the interface is not even supported then there is no point in executing a probe or query for that interface. Introduce a simple function (hda_get_interface_mask) to query the interfaces supported on the platform. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@intel.com> Link: https://lore.kernel.org/r/20230404092115.27949-5-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/tegra/tegra210_dmic.h')
0 files changed, 0 insertions, 0 deletions