Searched hist:ffc6d45d96f07a32700cb6b7be2d3459e63c255a (Results 1 – 1 of 1) sorted by relevance
/linux/sound/soc/intel/boards/ |
H A D | skl_hda_dsp_generic.c | diff ffc6d45d96f07a32700cb6b7be2d3459e63c255a Tue Jul 14 15:28:04 CEST 2020 Kai Vehmanen <kai.vehmanen@linux.intel.com> ASoC: intel/skl/hda - fix probe regression on systems without i915
Starting in commit cbc7a6b5a87a ("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: cbc7a6b5a87a ("ASoC: soc-card: add snd_soc_card_add_dai_link()") Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@linux.intel.com> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> BugLink: https://github.com/thesofproject/linux/issues/2261 Link: https://lore.kernel.org/r/20200714132804.3638221-1-kai.vehmanen@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
|