]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix silent speaker output due to mute LED fixup
authorTakashi Iwai <tiwai@suse.de>
Thu, 3 Apr 2014 09:51:21 +0000 (11:51 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 3 Apr 2014 09:51:21 +0000 (11:51 +0200)
commitac5c9c96e9213adc8d3f9f0cbb40be8e666ce7ab
treecdddb55e5527d484c26c465150e4374e44bf02fe
parentea3f1d4362a7125c9de1af64e8b88e876aebb2fd
ALSA: hda - Fix silent speaker output due to mute LED fixup

The recent fixups for HP laptops to support the mute LED made the
speaker output silent on some machines.  It turned out that they use
the NID 0x18 for the speaker while it's also used for controlling the
LED via VREF bits although the current driver code blindly assumes
that such a node is a mic pin (where 0x18 is usually so).

This patch fixes the problem by only changing the VREF bits and
keeping the other pin ctl bits.

Reported-and-tested-by: Hui Wang <hui.wang@canonical.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c