diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-07-31 10:40:05 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-07-31 10:50:20 +0200 |
commit | 1f43f6c1bc8d740e75b4177eb29110858bb5fea2 (patch) | |
tree | 6923fdb09817ef494a3142994df19f141b1d634f /sound/usb | |
parent | c9dbc4802b413e2d0b08fc483cbf5db7f8e2f360 (diff) | |
download | linux-3.10-1f43f6c1bc8d740e75b4177eb29110858bb5fea2.tar.gz linux-3.10-1f43f6c1bc8d740e75b4177eb29110858bb5fea2.tar.bz2 linux-3.10-1f43f6c1bc8d740e75b4177eb29110858bb5fea2.zip |
ALSA: hda - Fix mute-LED GPIO initialization for IDT codecs
The IDT codecs initializes the GPIO setup for mute LEDs via
snd_hda_sync_vmaster_hook(). This works in most cases except for the
very first call, which is called before PCM and control creations.
Thus before Master switch is set manually via alsactl, the mute LED
may show the wrong state, depending on the polarity.
Now it's fixed by calling the LED-status update function manually when
no vmaster is set yet.
Cc: <stable@vger.kernel.org> [v3.4+]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
0 files changed, 0 insertions, 0 deletions