From: Kailang Yang Date: Fri, 27 Sep 2013 12:02:28 +0000 (+0200) Subject: ALSA: hda - Fix Internal Mic boost can't control with ALC283 X-Git-Tag: v4.9.8~7555^2~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=068fd3a0811c0aace07ff9c3e1d17bbd1802f4b9;p=platform%2Fkernel%2Flinux-rpi3.git ALSA: hda - Fix Internal Mic boost can't control with ALC283 ALC283 pin control for Line1 default control by hidden register. Use line1 as internal Mic will not get sound when boost value up. Set control by verb for hidden register will solve this issue. Signed-off-by: Kailang Yang Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index bc07d36..41f18f4 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -3439,6 +3439,9 @@ static void alc283_fixup_chromebook(struct hda_codec *codec, /* Set to manual mode */ val = alc_read_coef_idx(codec, 0x06); alc_write_coef_idx(codec, 0x06, val & ~0x000c); + /* Enable Line1 input control by verb */ + val = alc_read_coef_idx(codec, 0x1a); + alc_write_coef_idx(codec, 0x1a, val | (1 << 4)); break; } }