Skip to content

ASoC: SOF: Intel: Skip endpoint presence check for single-DAI codecs - #5986

Open
bardliao wants to merge 1 commit into
thesofproject:topic/sof-devfrom
bardliao:skip-endpoint-presence-check
Open

bardliao wants to merge 1 commit into
thesofproject:topic/sof-devfrom
bardliao:skip-endpoint-presence-check

Conversation

@bardliao

Copy link
Copy Markdown
Collaborator

When dai_num is 1, we can assume that the endpoint is always present and there is no need to check whether the endpoint is present in the SDCA DisCo table.

When dai_num is 1, we can assume that the endpoint is always present and
there is no need to check whether the endpoint is present in the SDCA
DisCo table.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The narrow condition implements the stated behavior without changing multi-DAI validation.

No open issues 🎉

What changed in this PR

Updates Intel SOF endpoint discovery to assume single-DAI codec endpoints are present.

Changes:

  • Skips SDCA DisCo endpoint checks for single-DAI codecs.
  • Preserves endpoint validation for multi-DAI codecs.
File Description
sound/​soc/​sof/​intel/​hda.c Limits endpoint presence checks to multi-DAI codecs.

Review effort: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants