Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3490271imu; Sun, 11 Nov 2018 16:16:43 -0800 (PST) X-Google-Smtp-Source: AJdET5cZJkQOA7yVFl2NVWXCjcE+lpGA/2WfLe3aOYbGA0rMV84LU4i1w5fk9Rlq4Wry0W6ZVTDM X-Received: by 2002:a62:37c7:: with SMTP id e190-v6mr17669467pfa.145.1541981803202; Sun, 11 Nov 2018 16:16:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541981803; cv=none; d=google.com; s=arc-20160816; b=XcgPUO8hkcLJlFMDr7OD+rrHBp30dP5rhmIrySuhJMwOZtSCdz0RO09W/jDsZKQN+n r8mXiXkyVVaann10oqDK+J8pkmTgefqT04oLHpxC91UJjbyDIcDGGwjFanPA4yrIHSwj T5D8GT1cgJS5FieJ3z0iRsjXGTvqt3dUX3ULe1iFoTvNWutRb/2T8XFccrK+3q+WwNWB AlvU8IEXr8gkdq74sKF3SQE2iRj91XlRhdyGoJ0nH2SL+zcrOaH+xr+nSr+k8n2IhZR2 +r+MYkpgtDNKxU0dsL7Qs9JiuxWRZhQBZo3iDMCfruuFe8P0OVbG1/W4INOM2pKSPTqu xjaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Z4EMSR4KAvp2KDlmAFNvIvaSxxbQHEeDhLoT6/TR9uM=; b=L4XPdxTsAg30rWlxA4AUcWHjmn+zGvbgCWE3CxoGadhoMo/bHxQeUxgZaiBoNUSkxF 2J6V7aT4wEBeV0QGrUO1qzheuHj3f1/GB4CTgzPIi1kHGLQHIvVDEZ7pxck6FOYkN/Bl r78UHpABfRGpkfh6BWlhhVMCE9FspuS8zVPl0xj5mlpu8sdesMh4iUt22PHVfN61PHXu BcQNgMZerwFcfvQULmof8K+o2PMNTavtG1Zek2o/1Dc3AzcVDxQ/XVfr7eGjeg1663IA AAbDDssPQDLCrLF/1YIZfuk8L5KM74PXc3lmpepbjWuSAqed8wBtT0vQjeJm8kIXG5bP 7eDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=y4st63D+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z136si13651887pgz.28.2018.11.11.16.16.28; Sun, 11 Nov 2018 16:16:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=y4st63D+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730688AbeKLKFZ (ORCPT + 99 others); Mon, 12 Nov 2018 05:05:25 -0500 Received: from mail.kernel.org ([198.145.29.99]:59948 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730341AbeKLIRL (ORCPT ); Mon, 12 Nov 2018 03:17:11 -0500 Received: from localhost (unknown [206.108.79.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8F16021508; Sun, 11 Nov 2018 22:27:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541975235; bh=KSonLcHyhOooC5ozSCxhIoRsROtKUfTWXXSPM7aOkTc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=y4st63D+5WCMuJRrlQMG+us1WnfeNp4JwTTxely3zhiNkTJXv7n1tjmnQglrKTndb Y/K1neOObiqRv66eWryVaJP2MzIHtNkIafJOAf/Ll28v3WNtlxI/pN5T9iTGZBLppb gr8Nw9ATJaaaicV4iVyh/emN4V3TikrncLkJf7e4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Takashi Iwai Subject: [PATCH 4.19 034/361] ALSA: hda - Add quirk for ASUS G751 laptop Date: Sun, 11 Nov 2018 14:16:21 -0800 Message-Id: <20181111221624.512053339@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181111221619.915519183@linuxfoundation.org> References: <20181111221619.915519183@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Takashi Iwai commit 11ba6111160290ccd35562f4e05cec08942a6c4c upstream. ASUS G751 requires the extra COEF initialization to make it microphone working properly. Reported-and-tested-by: HÃ¥vard Cc: Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_realtek.c | 10 ++++++++++ 1 file changed, 10 insertions(+) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -7738,6 +7738,7 @@ enum { ALC662_FIXUP_ASUS_Nx50, ALC668_FIXUP_ASUS_Nx51_HEADSET_MODE, ALC668_FIXUP_ASUS_Nx51, + ALC668_FIXUP_ASUS_G751, ALC891_FIXUP_HEADSET_MODE, ALC891_FIXUP_DELL_MIC_NO_PRESENCE, ALC662_FIXUP_ACER_VERITON, @@ -8007,6 +8008,14 @@ static const struct hda_fixup alc662_fix .chained = true, .chain_id = ALC668_FIXUP_ASUS_Nx51_HEADSET_MODE, }, + [ALC668_FIXUP_ASUS_G751] = { + .type = HDA_FIXUP_VERBS, + .v.verbs = (const struct hda_verb[]) { + { 0x20, AC_VERB_SET_COEF_INDEX, 0xc3 }, + { 0x20, AC_VERB_SET_PROC_COEF, 0x4000 }, + {} + }, + }, [ALC891_FIXUP_HEADSET_MODE] = { .type = HDA_FIXUP_FUNC, .v.func = alc_fixup_headset_mode, @@ -8080,6 +8089,7 @@ static const struct snd_pci_quirk alc662 SND_PCI_QUIRK(0x1043, 0x11cd, "Asus N550", ALC662_FIXUP_ASUS_Nx50), SND_PCI_QUIRK(0x1043, 0x13df, "Asus N550JX", ALC662_FIXUP_BASS_1A), SND_PCI_QUIRK(0x1043, 0x129d, "Asus N750", ALC662_FIXUP_ASUS_Nx50), + SND_PCI_QUIRK(0x1043, 0x12ff, "ASUS G751", ALC668_FIXUP_ASUS_G751), SND_PCI_QUIRK(0x1043, 0x1477, "ASUS N56VZ", ALC662_FIXUP_BASS_MODE4_CHMAP), SND_PCI_QUIRK(0x1043, 0x15a7, "ASUS UX51VZH", ALC662_FIXUP_BASS_16), SND_PCI_QUIRK(0x1043, 0x177d, "ASUS N551", ALC668_FIXUP_ASUS_Nx51),