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:07:10 +0000 (22:07 +0100)
commite1008331ce7a1033d70ef3e6559eaf5e072b8218
treecf99a88afe6ff21851322a5a6d6180cfbcf0d0df
parentcd5a27c87820dd613518243c6422d1ea59b4759c
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