]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix invalid snd_BUG_ON() in alc271_hp_gate_mic_jack()
authorTakashi Iwai <tiwai@suse.de>
Wed, 23 Jan 2013 12:57:20 +0000 (13:57 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 23 Jan 2013 12:57:20 +0000 (13:57 +0100)
commit785f9bb7e0e91907799326b824941715a35352e7
tree9bed56a8ea26e9819b4ceaf10d01713598e214ab
parent84fbeb3b52831e941348eda7d771d4a5fb92dc4c
ALSA: hda - Fix invalid snd_BUG_ON() in alc271_hp_gate_mic_jack()

The fixup function is called multiple times before parsing the pins,
so snd_BUG_ON() hits when loaded.  Move it to the proper place in the
if block.

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