forked from thesofproject/linux
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ASoC: intel/skl/hda - fix probe regression on systems without i915
Starting in commit cbc7a6b ("ASoC: soc-card: add snd_soc_card_add_dai_link()"), error value from ASoc add_dai_link() is no longer ignored. The generic HDA machine driver relied on the old semantics to disable i915 HDMI/DP audio codec at runtime. If no display codec was present, add_dai_link() returned an error, but this was ignored and rest of the card was successfully probed. Fix the problem by changing the machine driver add_dai_link() to not return an error in this case. Fixes: cbc7a6b ("ASoC: soc-card: add snd_soc_card_add_dai_link()") BugLink: thesofproject#2261 Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
- Loading branch information
Showing
2 changed files
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters