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 <firstname.lastname@example.org>
Signed-off-by: Takashi Iwai <email@example.com>
Signed-off-by: Greg Kroah-Hartman <firstname.lastname@example.org>