thesofproject / linux

Linux kernel source tree
Other
91 stars 133 forks source link

ASoC: Intel: sof_rt5650: fix soundcard registration failure #5101

Closed brentlu closed 4 months ago

brentlu commented 4 months ago

ALC5650 supports both headphone and speaker paths. When there is no amplifier on the board, machine driver will add an dai link for speaker pipeline. The code does not handle SSP port number properly so the dai link data is invalid and results in soundcard registration failure.

Fixes: 8efcd48 ("ASoC: Intel: sof_rt5682: use common module for sof_card_private initialization") Reported-by: Curtis Malainey cujomalainey@chromium.org

cujomalainey commented 4 months ago

Closing as the solution in #5100 is generic