mirror of https://gitee.com/openkylin/linux.git
71cc8abb6e
Add support to configure the HDA controller with an external HDA codec even if iDisp codec in i915 is not available. This can happen for multiple reasons: - internal graphics is disabled on the system - i915 driver is not enabled in kernel or it fails to init - i915 codec reports error in HDA codec probe - HDA codec driver probe fails Address all these scenarios, but keep using the existing topology. In case failures occur, HDMI PCM nodes are created, but they will report error if application tries to use them. No ALSA mixer controls are created. If the external HDA codec init fails as well, SOF probe will return error as before. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=206085 BugLink: https://bugzilla.opensuse.org/show_bug.cgi?id=1163677 BugLink: https://github.com/thesofproject/linux/issues/1658 Link: https://lore.kernel.org/r/20200220171028.22023-3-kai.vehmanen@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
apl.c | ||
bdw.c | ||
byt.c | ||
cnl.c | ||
hda-bus.c | ||
hda-codec.c | ||
hda-compress.c | ||
hda-ctrl.c | ||
hda-dai.c | ||
hda-dsp.c | ||
hda-ipc.c | ||
hda-ipc.h | ||
hda-loader.c | ||
hda-pcm.c | ||
hda-stream.c | ||
hda-trace.c | ||
hda.c | ||
hda.h | ||
intel-ipc.c | ||
shim.h |