From: Takashi Iwai Date: Wed, 23 Jan 2013 12:57:20 +0000 (+0100) Subject: ALSA: hda - Fix invalid snd_BUG_ON() in alc271_hp_gate_mic_jack() X-Git-Tag: v3.9-rc1~129^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0db75790e282dd1c8752b2472a9485940dd92c70;p=pandora-kernel.git 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 --- Reading git-diff-tree failed