]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: hda: add sanity check on SSP index reported by NHLT
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 25 Jul 2022 19:53:41 +0000 (14:53 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 25 Jul 2022 21:37:00 +0000 (22:37 +0100)
commit920502513c0e710d571498c79ba6a1e8acc3c4dc
tree7855c3b8bc55d720624f90fea6ec671df47ed8e3
parent812cec5834f62412623eff6f1842a2a32666c548
ASoC: SOF: Intel: hda: add sanity check on SSP index reported by NHLT

We should have a limited trust in the BIOS and verify that the SSP
index reported in NHLT is valid for each platform.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20220725195343.145603-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda.c