Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 816F3C433E2 for ; Wed, 9 Sep 2020 09:00:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3B592206B8 for ; Wed, 9 Sep 2020 09:00:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726970AbgIIJAt (ORCPT ); Wed, 9 Sep 2020 05:00:49 -0400 Received: from mx2.suse.de ([195.135.220.15]:46288 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725877AbgIIJAt (ORCPT ); Wed, 9 Sep 2020 05:00:49 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 43441AFD5; Wed, 9 Sep 2020 09:00:49 +0000 (UTC) Date: Wed, 09 Sep 2020 11:00:48 +0200 Message-ID: From: Takashi Iwai To: Hui Wang Cc: alsa-devel@alsa-project.org, stable@vger.kernel.org, kailang@realtek.com Subject: Re: [PATCH] ALSA: hda/realtek - The Mic on a RedmiBook doesn't work In-Reply-To: <20200909020041.8967-1-hui.wang@canonical.com> References: <20200909020041.8967-1-hui.wang@canonical.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Wed, 09 Sep 2020 04:00:41 +0200, Hui Wang wrote: > > The Mic connects to the Nid 0x19, but the configuration of Nid 0x19 > is not defined to Mic, and also need to set the coeff to enable the > auto detection on the Nid 0x19. After this change, the Mic plugging > in or plugging out could be detected and could record the sound from > the Mic. > > And the coeff value is suggested by Kailang of Realtek. > > Cc: Kailang Yang > Cc: > Signed-off-by: Hui Wang Thanks, applied. Takashi