Skip to content

fixup! ASoC: SOF: Intel: wait and verifies the presence of SoundWire peripherals - #6024

Open
bardliao wants to merge 1 commit into
thesofproject:topic/sof-devfrom
bardliao:check-ghost-peripherals
Open

bardliao wants to merge 1 commit into
thesofproject:topic/sof-devfrom
bardliao:check-ghost-peripherals

Conversation

@bardliao

@bardliao bardliao commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

Use a common deadline so that we will still wait at most x seconds when there are more than 1 ghost peripherals.

…peripherals

Use a common deadline so that we will still wait at most x seconds when
there are more than 1 ghost peripherals.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
@bardliao
bardliao requested review from ujfalusi and a balanced review from Copilot November 6, 2026 03:40

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

No active review issues are recorded for the change to share a single timeout budget across SoundWire peripheral detection.

No open issues 🎉

What changed in this PR

Updates SOF Intel SoundWire peripheral detection to share one timeout budget, preventing multiple missing peripherals from each triggering a full wait.

Changes:

  • Establishes a common deadline before checking peripherals.
  • Uses the remaining timeout budget for each enumeration wait.
  • Simplifies presence checks and removes the skip-wait label.
File Description
sound/​soc/​sof/​intel/​hda.c Shares the enumeration timeout across peripherals during SoundWire machine selection.

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