]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Skip card registration when no codec is found
authorTakashi Iwai <tiwai@suse.de>
Wed, 28 Jun 2017 10:45:34 +0000 (12:45 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Jun 2017 10:45:34 +0000 (12:45 +0200)
commit1c0155bc306cb2b38f8113b3d5c431158afa254e
treecc1103f6e79fc2f3058c97a5050b1a68f849a035
parent84de60207b75e502efd0942a4655ba0db09a976d
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>
sound/pci/hda/hda_controller.c