Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3442985imu; Sun, 11 Nov 2018 15:12:29 -0800 (PST) X-Google-Smtp-Source: AJdET5dJUbUzb6o5H+gm6gMXjkAIKP3E7VWpg6/9VEWcFL5KQatCmSllnBkhFZYBSGrZrofZg3G5 X-Received: by 2002:a63:4243:: with SMTP id p64-v6mr15680120pga.127.1541977949305; Sun, 11 Nov 2018 15:12:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541977949; cv=none; d=google.com; s=arc-20160816; b=BEC4xfXevH9VGfe0YqGieEa0nc6HJh6a+S5oE+QeJvnl4gHkV+WPwpF8ypak5ozVzw iDeeIovQr4CNzRstjp0H6mDQqTN4J1SBwfw93uT7mIRFmR+YG0rHNB9UthY5Ntptt2gF mELLVKo1BsU8ADNJgfmIveIrz7SGvGwB2lc65EY2hP4r45oSDglXhW/JvpsuUpDy7L4C JE+BNbcKgLs/EgQRT0g7V+5AmMfkHJ7YHu+J3Rsg71m/sxnO37xAg8luPSxD7SHhmiY0 RA/GXx72qXSCXsEt/yhyBy2HpL+ce2tQbYUP2ZXl37y2Xgxd23CIH/tHL+7R+D5akvcX 3Fxg== 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=r7hDAZ4+4LPvtIh5OetsNHO50nMCdSWmV95LmgAuh9s=; b=A39MWhdW2AeQ82ydBxP7xqPdk6R0GJmZxrB50bwFLfwcGyEm/hVsD5bi2BwbIFasUU LU8pHF1cW6uSpj5MilybB9Yr201T90Cyke3gtYCLqolZoDJIAvEh2i2iweI+A/MbJzWv 0FIrk6guCg45x4ijSab6gI02I/Scv51L6p38MAZojf+KB2JVXBCaoxVw2jdS3/YiflT1 xzR/SRwpddBX2dXokO1RSQGL1qmbcFkGL2Klf7wwEB5m/vq+KI2rFJGopqYqz5n0uB7S YG3nBTcB7uzkXvIoZ3pFU8jVDSiaM7a7D54Rn4H11fDfaL+JN1eFSOkkdRay92x1/jJE c5Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qNtKXfwQ; 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 p3si14612643pgi.0.2018.11.11.15.12.14; Sun, 11 Nov 2018 15:12:29 -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=qNtKXfwQ; 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 S2390173AbeKLIV7 (ORCPT + 99 others); Mon, 12 Nov 2018 03:21:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:50044 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390159AbeKLIV6 (ORCPT ); Mon, 12 Nov 2018 03:21:58 -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 CD3AD21508; Sun, 11 Nov 2018 22:32:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541975521; bh=jazk8uFbJyiXdDD7GiTr28MI+1FZBoCx3p6v8GaEjTI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qNtKXfwQ+Hxqi/I1X+/gxHq5nmxxkXKpR0UdGPWxtnaLGvCCjJ6RCWmLz9IiLw6R3 afxnZt23wUAk/RsvzcaOGVDufj3aYHwoJv084syk7Kb+YDSV9dFCf0SjUte8JuNl9B t5pC9DkaNOHz+bHyNrFu4tPLAyTGQYPQFaWQS18o= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Takashi Iwai Subject: [PATCH 4.14 014/222] ALSA: hda - Add quirk for ASUS G751 laptop Date: Sun, 11 Nov 2018 14:21:51 -0800 Message-Id: <20181111221649.377450200@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181111221647.665769131@linuxfoundation.org> References: <20181111221647.665769131@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.14-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 @@ -7515,6 +7515,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, @@ -7784,6 +7785,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, @@ -7857,6 +7866,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),