summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_hdmi.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-06-28 12:45:34 +0200
committerTakashi Iwai <tiwai@suse.de>2017-06-28 12:45:34 +0200
commit17890880bbf7bac8171054c7dca7a5162b23c5c2 (patch)
treecc1103f6e79fc2f3058c97a5050b1a68f849a035 /sound/pci/hda/patch_hdmi.c
parentALSA: hda - Fix endless loop of codec configure (diff)
downloadlinux-17890880bbf7bac8171054c7dca7a5162b23c5c2.tar.xz
linux-17890880bbf7bac8171054c7dca7a5162b23c5c2.zip
ALSA: hda - Skip card registration when no codec is found
It's nonsense to register a card object when no codec is bound on it, as we don't support the deferred codec binding. Instead of registering an empty card object, just skip the registration by returning an error from azx_codec_configure(). Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_hdmi.c')
0 files changed, 0 insertions, 0 deletions