Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: SOF: Intel: hda: add SDCA property check

If SDCA property is not present in the DisCo table, assume it
is present. This allows DAI links to be created from codec_info_list
instead of being skipped.

Signed-off-by: Mac Chiang <mac.chiang@intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20260203095923.3741674-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Mac Chiang and committed by
Mark Brown
bb6a3c2d 754b3dad

+6
+6
sound/soc/sof/intel/hda.c
··· 1138 1138 { 1139 1139 int i; 1140 1140 1141 + /* If SDCA is not present, assume the endpoint is present */ 1142 + if (!sdw_device->sdca_data.interface_revision) { 1143 + dev_warn(&sdw_device->dev, "SDCA properties not found in BIOS\n"); 1144 + return true; 1145 + } 1146 + 1141 1147 for (i = 0; i < sdw_device->sdca_data.num_functions; i++) { 1142 1148 if (dai_type == dai_info->dais[i].dai_type) 1143 1149 return true;