ALSA: hda - factorize an automute_mic realtek quirk function
authorAnisse Astier <anisse@astier.eu>
Thu, 16 Dec 2010 11:19:47 +0000 (12:19 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 16 Dec 2010 16:19:42 +0000 (17:19 +0100)
commiteeb433876cf59438a1e1600a957ff6cc99c860eb
tree21ad7be5cc2b8d8d19b0cf6fa4c567c115f152c6
parentfbb5bb563925db138a8bbfa6a0ea0e089fbd2405
ALSA: hda - factorize an automute_mic realtek quirk function

Multiple quirk functions were using the exact same code to verify if the Mic
jack was plugged and mute the Mic accordingly

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