Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp2441943ybg; Sun, 27 Oct 2019 18:41:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqwZZ67VpgPQa7PeRUT73hpjmK3YjYz0C4NeFjLnOz/BcTH8/v0fefWg49s1pqngLCz/yhIA X-Received: by 2002:a05:6402:160a:: with SMTP id f10mr17036096edv.161.1572226864091; Sun, 27 Oct 2019 18:41:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572226864; cv=none; d=google.com; s=arc-20160816; b=idY/iS44+b4NYPgRNdi07YUdNIQHxdpF9f+r1tllZlgXitK7nDSCNUWwvQxGkfx4hb J8M/vslG+fD3NEmrOMpkM9gz1ci09itXCOs0v2E8CTE8sGCjRHjCf5HAnqKLhdZH24lb bbHRN1DgZ/LrS4002gDMpNNDoEX4tivW0ikgU3tvDrXfSrU6Eevzmhka1UcT0szMCsiB nNFUIx8YkW3MDdbps/4vYOpJKmFGHaN8VVqB01vLtSF0Yp4IloxDmhNIG2+thA5kYwor fgWlPjmce0ArWWPbRGNcf+v90qBiu99TKJCjwe27q3ZEVXmP7VfCG0HQs+6OcBWOPeyu 7tig== 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=/wkyRjAlHNln2hfVOrDYaXRZpHD3zEmsc+bemT2mdMU=; b=tW2vY71vg3oXb6jHucU/t1nQaAM97wPZOg9WhR/FuQFkhvgZK7WtSpPrLDdqTxDEcN Rapw8/ewSxQb44HeDzRjRMVnghftkF4DTuLq638kjVEpJNunxhnEsMCf+RX+w3fEEcgm 9fprrHFq4FxoHoz2gSmSeVSGDIzRPwXAJFfv/UxHeWgoQSLL7/GCcilqxRA6F+U11S6H zAFLnNW3DT+hjjeDcQOw2NDDht1pQI5flhtdimCe6Fp8g5tf/ittxoULRdmJrYWMBBZm h6rfwLhrhfNYEB8eOeyPS73aJQSrHtypOQeh93FTltDGmGHPr9p2Wc+ptbIoKlZoFW1W zDJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="X4ODa/0j"; 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 u1si5616077ejt.18.2019.10.27.18.40.39; Sun, 27 Oct 2019 18:41:04 -0700 (PDT) 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="X4ODa/0j"; 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 S1728234AbfJ0VIK (ORCPT + 99 others); Sun, 27 Oct 2019 17:08:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:54270 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729327AbfJ0VIG (ORCPT ); Sun, 27 Oct 2019 17:08:06 -0400 Received: from localhost (100.50.158.77.rev.sfr.net [77.158.50.100]) (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 4CD6E2064A; Sun, 27 Oct 2019 21:08:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572210485; bh=HX1uJv3K6nliWLyVHLjYQ5UaxNy1uDdm3bnjZGi1i3w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=X4ODa/0jyTG6EgcpMi+84EeUumQrwSamSncpt8cO8INpvzQy10g8He6ln1kNvfdhc DNGAGabfe3vrcCP+/TFbttiJYy8ppaEykiUi1sURVqTQxmsT4+bkJkUlSyGXGRvROh OIqLYmpLKvSJjOLU9P11+VJ+JMBwqOgevr7AivWw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kailang Yang , Takashi Iwai Subject: [PATCH 4.14 031/119] ALSA: hda/realtek - Add support for ALC711 Date: Sun, 27 Oct 2019 22:00:08 +0100 Message-Id: <20191027203309.899226470@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191027203259.948006506@linuxfoundation.org> References: <20191027203259.948006506@linuxfoundation.org> User-Agent: quilt/0.66 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 From: Kailang Yang commit 83629532ce45ef9df1f297b419b9ea112045685d upstream. Support new codec ALC711. Signed-off-by: Kailang Yang Cc: Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_realtek.c | 3 +++ 1 file changed, 3 insertions(+) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -359,6 +359,7 @@ static void alc_fill_eapd_coef(struct hd case 0x10ec0700: case 0x10ec0701: case 0x10ec0703: + case 0x10ec0711: alc_update_coef_idx(codec, 0x10, 1<<15, 0); break; case 0x10ec0662: @@ -7272,6 +7273,7 @@ static int patch_alc269(struct hda_codec case 0x10ec0700: case 0x10ec0701: case 0x10ec0703: + case 0x10ec0711: spec->codec_variant = ALC269_TYPE_ALC700; spec->gen.mixer_nid = 0; /* ALC700 does not have any loopback mixer path */ alc_update_coef_idx(codec, 0x4a, 1 << 15, 0); /* Combo jack auto trigger control */ @@ -8365,6 +8367,7 @@ static const struct hda_device_id snd_hd HDA_CODEC_ENTRY(0x10ec0700, "ALC700", patch_alc269), HDA_CODEC_ENTRY(0x10ec0701, "ALC701", patch_alc269), HDA_CODEC_ENTRY(0x10ec0703, "ALC703", patch_alc269), + HDA_CODEC_ENTRY(0x10ec0711, "ALC711", patch_alc269), HDA_CODEC_ENTRY(0x10ec0867, "ALC891", patch_alc662), HDA_CODEC_ENTRY(0x10ec0880, "ALC880", patch_alc880), HDA_CODEC_ENTRY(0x10ec0882, "ALC882", patch_alc882),