Brent Lu 188ab4bfd2 ASoC: SOF: ipc4-topology: support NHLT device type
The endpoint in NHLT table for a SSP port could have the device type
NHLT_DEVICE_BT or NHLT_DEVICE_I2S. Use intel_nhlt_ssp_device_type()
function to retrieve the device type before querying the endpoint
blob to make sure we are always using correct device type parameter.

Signed-off-by: Brent Lu <brent.lu@intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Message-ID: <20231127120657.19764-3-peter.ujfalusi@linux.intel.com>
2024-03-22 12:40:46 +01:00
..
2024-03-21 14:07:27 +01:00
2023-10-23 19:38:22 +01:00
2024-03-13 18:22:15 +00:00
2024-03-13 18:22:15 +00:00
2024-01-16 17:37:17 +01:00
2024-03-11 16:18:47 +01:00
2024-03-13 18:22:15 +00:00
2024-03-13 18:22:15 +00:00
2023-10-09 13:13:59 +01:00
2024-01-22 21:08:17 +00:00
2024-01-08 08:18:02 +01:00