]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix missing module loading with model=generic option
authorTakashi Iwai <tiwai@suse.de>
Wed, 20 Jan 2016 14:46:44 +0000 (15:46 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 20 Jan 2016 14:56:42 +0000 (15:56 +0100)
commit44d717423e597f190800928a2364944e6a32e143
treee4c65d75876e05ef26c09b085552b7da3ff235ad
parentc0b876b9a013b88b4702bccbfcb7b1da0b690c00
ALSA: hda - Fix missing module loading with model=generic option

When the generic codec driver is specified via model option or such,
the hda driver doesn't try to load the generic driver module but still
loads the codec-specific driver, and this ends up with the binding
failure.

This patch fixes it by moving the generic module request in the common
helper code.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=111021
Cc: <stable@vger.kernel.org> # v4.4+
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_bind.c