]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Disable the sanity check in snd_hda_add_pincfg()
authorTakashi Iwai <tiwai@suse.de>
Thu, 18 Apr 2013 07:59:28 +0000 (09:59 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 18 Apr 2013 07:59:28 +0000 (09:59 +0200)
commit4fa43f51358e775d84c8ca4a58df12fc6293cdc3
treefc13980f4233652a58fedd7525e23bdaa23773f7
parente87944c9c5aa9d9ef406e7d15298bc8355c24c6f
ALSA: hda - Disable the sanity check in snd_hda_add_pincfg()

When pin default configs are overridden via patch option, these are
evaluated before fixups are applied.  Since some fixups change the
whole codec trees and/or add pins dynamically, this sanity check might
not pass when pins aren't present at the time the function is called.

We may reorder the execution, but an easier fix is simply to disable
this sanity check.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c