ALSA: hda/realtek - Disable headset Mic VREF for headset mode of ALC225
authorKailang Yang <kailang@realtek.com>
Wed, 9 Jan 2019 09:05:24 +0000 (17:05 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jan 2019 21:04:30 +0000 (22:04 +0100)
commit045e3d2f1216a930e64134369f9b7d3c9f10b4a9
treee1329cda34b75cf0a0935d57db7977b0b01e47d2
parent0fd36f024a707003a30b7c90cfebfe4aa1141773
ALSA: hda/realtek - Disable headset Mic VREF for headset mode of ALC225

commit d1dd42110d2727e81b9265841a62bc84c454c3a2 upstream.

Disable Headset Mic VREF for headset mode of ALC225.
This will be controlled by coef bits of headset mode functions.

[ Fixed a compile warning and code simplification -- tiwai ]

Signed-off-by: Kailang Yang <kailang@realtek.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c