summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHui Wang <hui.wang@canonical.com>2021-10-12 19:47:48 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-20 11:40:12 +0200
commit2e41b9c8461f2a58f33a22a64bfe7b37d0ec3153 (patch)
treef4e3abf15a0c4db906461bd9c6d63618afdc058a /scripts
parent90cf96afa34727ba664871a8baa8f94020bc2f08 (diff)
ALSA: hda/realtek: Fix the mic type detection issue for ASUS G551JW
commit a3fd1a986e499a06ac5ef95c3a39aa4611e7444c upstream. We need to define the codec pin 0x1b to be the mic, but somehow the mic doesn't support hot plugging detection, and Windows also has this issue, so we set it to phantom headset-mic. Also the determine_headset_type() often returns the omtp type by a mistake when we plug a ctia headset, this makes the mic can't record sound at all. Because most of the headset are ctia type nowadays and some machines have the fixed ctia type audio jack, it is possible this machine has the fixed ctia jack too. Here we set this mic jack to fixed ctia type, this could avoid the mic type detection mistake and make the ctia headset work stable. BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=214537 Reported-and-tested-by: msd <msd.mmq@gmail.com> Cc: <stable@vger.kernel.org> Signed-off-by: Hui Wang <hui.wang@canonical.com> Link: https://lore.kernel.org/r/20211012114748.5238-1-hui.wang@canonical.com Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions