Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions sound/soc/sof/intel/hda.c
Original file line number Diff line number Diff line change
Expand Up @@ -1138,6 +1138,12 @@ static bool is_endpoint_present(struct sdw_slave *sdw_device,
{
int i;

/* If SDCA is not present, assume the endpoint is present */
if (!sdw_device->sdca_data.interface_revision) {
dev_warn(&sdw_device->dev, "SDCA properties not found in BIOS\n");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should probably say which endpoint to assist with integration/debug.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lgirdwood If no sdca_data.interface_revision found means there is no SDCA properties at all. It is not just missing a specific endpoint. Also, we can't tell if an endpoint is missed or not present.

return true;
}

for (i = 0; i < sdw_device->sdca_data.num_functions; i++) {
if (dai_type == dai_info->dais[i].dai_type)
return true;
Expand Down
Loading