ALSA: hda/realtek - Clean up mute/mic GPIO LED handling
authorTakashi Iwai <tiwai@suse.de>
Wed, 19 Nov 2014 11:16:14 +0000 (12:16 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 20 Nov 2014 10:02:18 +0000 (11:02 +0100)
There are a few duplicated codes handling the mute and mic-mute LEDs
via GPIO pins.  Let's consolidate to single helpers.  Here we
introduced two new fields to alc_spec, gpio_mute_led_mask and
gpio_mic_led_mask, to contain the bit mask to set/clear.  Also,
mute_led_polarity is evaluated as well.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found