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:12:31 +0000 (22:12 +0100)
commitdfce2067bfa67ae5f7ed0fdf929993a17f8a6125
tree8a4924edd6c1f5fa282ac81e8d84faa707506fc0
parentdf6062688e387419f0e10ee1bef2e9cfd7795399
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