]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: hda: report SSP link mask to machine driver
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 8 Mar 2022 19:25:55 +0000 (13:25 -0600)
committerMark Brown <broonie@kernel.org>
Wed, 9 Mar 2022 13:30:17 +0000 (13:30 +0000)
commit8f2b814b9f3f9f3866e5b01814c314d8eb1e8cb2
tree43a91bdf5e496cafca63b4271a200f18967e9b13
parent4874725fdea55a4e1903b83e8dbb5bd1f19eb86b
ASoC: SOF: Intel: hda: report SSP link mask to machine driver

For devices designed for Windows, the SSP information should be listed
in the NHLT, and when present can be used to set quirks automatically
in the machine driver.

The NHLT information exposes BT and analog audio connections
separately, for now we are only interested in the analog audio parts.

The use of dev_info() for the SSP mask is intentional so that we can
immediately flag devices with an ES8336 codec. Since NHLT is not used
for recent Chromebooks these messages should be rare.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20220308192610.392950-6-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda.c