Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp535391pxu; Wed, 7 Oct 2020 09:17:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxa4vGXmUMC8C6SSBx7dblW4idbqKPwKTzToaorXJs2RHSLjpkPBtuzEbilGMxZX7qEih3i X-Received: by 2002:a17:906:7d52:: with SMTP id l18mr4075625ejp.220.1602087476179; Wed, 07 Oct 2020 09:17:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602087476; cv=none; d=google.com; s=arc-20160816; b=0esY+XOaU5w4UdC871ns7BpInb89L2UCgWohKRNDEiimhy8Z2lOvg/0YSEqtrXdK8g /hKSUcsb4B+g9QFOAi2sM32QwqcW7LBt5Z3ciCHVUlITem8RwFLKHUxTwya/V5+Kh5Nw X4BwG2mqHhWuesx/RVocOMdCsEo2sJKl177D3LmsDebhz/I2PvKPawZ02jvXdF5R6W9I SEtT236lZ47I6fuXwxGSu0quOYaO1zUmMsBBELeyKZweqXMdJpZkD/W5e195d7R5KHw3 3Gw8XE0dxCQ0s63MJBI63HbdNdM6kESq6IBPqhpg9Psf8Rg4PMYbwauGYP0qfScIBmop Kcww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date; bh=D0q665o9kPfIoNkaChZ1cdkEu69CE06cuj/0EcaG/0k=; b=P1jJw/bWmBM4vmtKkz6xemRJZtZI6X+nMaJLWAJzmlbob0XPp5+Efa6lJv5gpqv8dA Lp61dr2ROfJD2HHpVZqxCGqu+VWwxS8JrTz8Ntw43XAaGXjHB70CM+8vLrfKfFP+iU/4 0mq8IswLnhzAR1x3JBUjjsYNL3fzRIf+XTXKZ+27vfLcqKUK8R7sP3WOlPGwmYcQ14YA c6X9tFmdzcQq1TSVWI6c8lpsdG/XUqK9bguNY+bDxcqiaTiWK6whhrC7jsJ2lODHuuTx RaOpa4mZYMZVul9iLqgkXhFUs1U32KNiOPatpky5+5xwxZo3tl7vlyzt+UMiGvJNNy0s WKoQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dt1si1674418ejc.566.2020.10.07.09.17.30; Wed, 07 Oct 2020 09:17:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727296AbgJGPbc (ORCPT + 99 others); Wed, 7 Oct 2020 11:31:32 -0400 Received: from mx2.suse.de ([195.135.220.15]:52054 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726697AbgJGPbc (ORCPT ); Wed, 7 Oct 2020 11:31:32 -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 57BFCAD29; Wed, 7 Oct 2020 15:31:31 +0000 (UTC) Date: Wed, 07 Oct 2020 17:31:29 +0200 Message-ID: From: Takashi Iwai To: Jian-Hong Pan Cc: Takashi Iwai , Kailang Yang , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux@endlessm.com Subject: Re: [PATCH v2] ALSA: hda/realtek: Enable audio jacks of ASUS D700SA with ALC887 In-Reply-To: <20201007052224.22611-1-jhp@endlessos.org> References: <20201007052224.22611-1-jhp@endlessos.org> 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 07 Oct 2020 07:22:25 +0200, Jian-Hong Pan wrote: > > The ASUS D700SA desktop's audio (1043:2390) with ALC887 cannot detect > the headset microphone and another headphone jack until > ALC887_FIXUP_ASUS_HMIC and ALC887_FIXUP_ASUS_AUDIO quirks are applied. > The NID 0x15 maps as the headset microphone and NID 0x19 maps as another > headphone jack. Also need the function like alc887_fixup_asus_jack to > enable the audio jacks. > > Signed-off-by: Jian-Hong Pan > Signed-off-by: Kailang Yang > --- > v2: > - Change the magic numbers to meaningful macros. > - Change snd_hda_codec_write to snd_hda_set_pin_ctl and > snd_hda_set_pin_ctl_cache accroding to Takashi's suggestion Thanks, applied. Takashi