Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4487745ybx; Mon, 4 Nov 2019 14:14:55 -0800 (PST) X-Google-Smtp-Source: APXvYqxNlJodwtK3vJ4tU7/9WqL7cSNdBft5ka0O1iPeu45VCha5y1iLLu5RD8CQbcNeGBp9RfC2 X-Received: by 2002:a17:906:2e5a:: with SMTP id r26mr6943449eji.283.1572905695474; Mon, 04 Nov 2019 14:14:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572905695; cv=none; d=google.com; s=arc-20160816; b=BxH1Ccn4XJDTXfhJsT+Vkg1R1KnfosRJTdqQiTQYnPibFzzSghG3a161P7Ac7tiwK6 SRxvujslwwCHF8zw8sRyt3FaFvC+tTjHoxyJ6exPNPH+/xLkTrStLsUuaMlPLdo5i77e Av98kVsJxq0/Enn+tW83tD46fYacPyJ6HPAecyQWe1tBd8fuLMQmmsyIKfxRdRmJGNDa c+EOzo+goLsH9ozVp3BzPteHtWXVLiSeWITZCZkV9nHIkC83OyOIUMq7bQzOh1aSNFf+ XLqyZRpMjy0O4lHlRk0j+FXc5Tv2fztUyVi3UHIuysziOBpvrqJCDo8WpSEpxxRMSw9I PZgA== 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=djLruSR4Yl48LphKc8T99EgBs4DZPTMgktEeJ9jaC24=; b=MSy5Yp2Xx1Dgsn/d52NfNlCMuXtAtXKiNyGLKo8MMHny+vfJP4cvAlYYWmnI+MKgYY 77wk1fj8PbHsyoO8ED6+pbbprnKWbZmhaeRM4mPU9kw6wh0nMYn1XrKU3pLCRZnOL4nV 3fArJi82Mf0d/d0amVyfhh9dd/13LtRu43RXAzINmX/gKeunJVyqNyYvZOIoqmu2zViS lOHUmOvXGq8n9ktql+16sgJ3MvHNkh58OVNh5gqB673bpggJCF0eewj9SdMzB8DJaKH2 Iq5xKa7YuKT0fCpHxTBHbid00RBsabbSETnd7m4Nm+cc/9k9K1Lw2lYrAP6x1TD8vuEk YaWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=K7uVJcJD; 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 r25si8633248eji.283.2019.11.04.14.14.32; Mon, 04 Nov 2019 14:14:55 -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=K7uVJcJD; 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 S2390559AbfKDWKf (ORCPT + 99 others); Mon, 4 Nov 2019 17:10:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:43724 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390535AbfKDWKb (ORCPT ); Mon, 4 Nov 2019 17:10:31 -0500 Received: from localhost (6.204-14-84.ripe.coltfrance.com [84.14.204.6]) (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 C8BC620650; Mon, 4 Nov 2019 22:10:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572905430; bh=+bOn5BpQyjay3VhCnIJDG7dAzmW2EedPioKRNMyG1gI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=K7uVJcJDq9ZiiIfcOnLV5uD3XugaJSRKTsNfuFc0L1DWezgOjwOcRoPQwBgaBMfpN Slmbes+3A8gAkgDmzFzeT3GtSZyrJMp1uD1RK7+W6sXOGH0uDCN1ImRe097W/JRwZ0 VUElVZxu2NJCZJg4GWGa2x3+gDf/6DW+sCpd1RcY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kailang Yang , Takashi Iwai Subject: [PATCH 5.3 100/163] ALSA: hda/realtek - Add support for ALC623 Date: Mon, 4 Nov 2019 22:44:50 +0100 Message-Id: <20191104212147.314982865@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191104212140.046021995@linuxfoundation.org> References: <20191104212140.046021995@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 f0778871a13889b86a65d4ad34bef8340af9d082 upstream. Support new codec ALC623. Signed-off-by: Kailang Yang Cc: Link: https://lore.kernel.org/r/ed97b6a8bd9445ecb48bc763d9aaba7a@realtek.com Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_realtek.c | 9 +++++++++ 1 file changed, 9 insertions(+) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -409,6 +409,9 @@ static void alc_fill_eapd_coef(struct hd case 0x10ec0672: alc_update_coef_idx(codec, 0xd, 0, 1<<14); /* EAPD Ctrl */ break; + case 0x10ec0623: + alc_update_coef_idx(codec, 0x19, 1<<13, 0); + break; case 0x10ec0668: alc_update_coef_idx(codec, 0x7, 3<<13, 0); break; @@ -2919,6 +2922,7 @@ enum { ALC269_TYPE_ALC225, ALC269_TYPE_ALC294, ALC269_TYPE_ALC300, + ALC269_TYPE_ALC623, ALC269_TYPE_ALC700, }; @@ -2954,6 +2958,7 @@ static int alc269_parse_auto_config(stru case ALC269_TYPE_ALC225: case ALC269_TYPE_ALC294: case ALC269_TYPE_ALC300: + case ALC269_TYPE_ALC623: case ALC269_TYPE_ALC700: ssids = alc269_ssids; break; @@ -7976,6 +7981,9 @@ static int patch_alc269(struct hda_codec spec->codec_variant = ALC269_TYPE_ALC300; spec->gen.mixer_nid = 0; /* no loopback on ALC300 */ break; + case 0x10ec0623: + spec->codec_variant = ALC269_TYPE_ALC623; + break; case 0x10ec0700: case 0x10ec0701: case 0x10ec0703: @@ -9103,6 +9111,7 @@ static const struct hda_device_id snd_hd HDA_CODEC_ENTRY(0x10ec0298, "ALC298", patch_alc269), HDA_CODEC_ENTRY(0x10ec0299, "ALC299", patch_alc269), HDA_CODEC_ENTRY(0x10ec0300, "ALC300", patch_alc269), + HDA_CODEC_ENTRY(0x10ec0623, "ALC623", patch_alc269), HDA_CODEC_REV_ENTRY(0x10ec0861, 0x100340, "ALC660", patch_alc861), HDA_CODEC_ENTRY(0x10ec0660, "ALC660-VD", patch_alc861vd), HDA_CODEC_ENTRY(0x10ec0861, "ALC861", patch_alc861),