summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-11-19 12:16:14 +0100
committerTakashi Iwai <tiwai@suse.de>2014-11-20 11:02:18 +0100
commit0f32fd1900e6b972f289416dbd75e92772b630cb (patch)
tree31ca5527c056421b934bbee1b67f8e532cb28f2d /include/sound
parent5f217f905bc5e9d609d0aac830736bcfc087c7f5 (diff)
downloadlinux-0f32fd1900e6b972f289416dbd75e92772b630cb.tar.gz
linux-0f32fd1900e6b972f289416dbd75e92772b630cb.tar.bz2
linux-0f32fd1900e6b972f289416dbd75e92772b630cb.zip
ALSA: hda/realtek - Clean up mute/mic GPIO LED handling
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>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions