Commit 068fd3a0811c0aace07ff9c3e1d17bbd1802f4b9
Committed by
Takashi Iwai
1 parent
a0760527f5
Exists in
smarc-imx_3.14.28_1.0.0_ga
and in
1 other branch
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 <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff
sound/pci/hda/patch_realtek.c
... | ... | @@ -3439,6 +3439,9 @@ |
3439 | 3439 | /* Set to manual mode */ |
3440 | 3440 | val = alc_read_coef_idx(codec, 0x06); |
3441 | 3441 | alc_write_coef_idx(codec, 0x06, val & ~0x000c); |
3442 | + /* Enable Line1 input control by verb */ | |
3443 | + val = alc_read_coef_idx(codec, 0x1a); | |
3444 | + alc_write_coef_idx(codec, 0x1a, val | (1 << 4)); | |
3442 | 3445 | break; |
3443 | 3446 | } |
3444 | 3447 | } |