Received: by 10.192.165.148 with SMTP id m20csp4170622imm; Mon, 30 Apr 2018 13:07:09 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoPTNg5VZEG0sEUfpBhrS3++8kRsuZiySqXDsnzKbndWrHVlEyWrCFshfoA2zW1Xxq6wedu X-Received: by 2002:a17:902:aa95:: with SMTP id d21-v6mr12587213plr.73.1525118829105; Mon, 30 Apr 2018 13:07:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525118829; cv=none; d=google.com; s=arc-20160816; b=gYMMqK0wr2sttWooL8IgXWzpEzC4Rk1pEE5sGjn6IzxtjVU9JMyW/1a80VeJHZ5Usd QeS6NFit+8hrw046uxqrfwEwYpPRoM28mOfyLPgGur0eJF86qO98fG0gxnSx7wMoRUVN kgyrxOvXpGOc4dA2rLx7rR+UUPEJ8WxA347gV8rVHYoPUht4VGhBRUGhwO3mIIPTLxED d8nOs7F9doHM7QwteT+5vH6zB4Klv4VSznfdsdkgaRiKM/zaYw2DkdumGnlzkpCrAg15 Q2ST6XdkJyiyrOp5T+WsMUKuM2HXCEKfla9d1oKMEepQmNWQYc0c7lJNJV8wpxPTrZMX gqCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dmarc-filter :arc-authentication-results; bh=IHE9UUpa0VDO7UbZu613+yFAVAdljxat05fwqkI9Ilc=; b=J8gZO72vld+89sLVcT0eD/nMQxfz1ISiM0XVZybGBWTOb3O/LDRk/HhnGKAiSACMW2 H8KAKnJWlLbj647YIf+kt0xK+KrUvVNBI95Xq5yUE6CpcYbPbfCfjmhfa4tSDk+Q9oWU 7DlMlOI9fjWVKEJcLJkQZZ46xR/tWHSx3jWJ2zuy8UJcGJdaqRNl8mc3E+sDtTOQDT/K jUzDnAvHD6sxDNw8T5O2kI/pWyLK1t5rNvcgh9N066GM5moN7zPNYL4ozAmXP7qlgNxH VR28oBYubaV+yUl1TwHaDJV3S2ihXfk39tsdaN1JmpR0xO++w5IfHIev61YGPbC1U2vb gB8A== ARC-Authentication-Results: i=1; mx.google.com; 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 i21si5602928pfj.190.2018.04.30.13.06.54; Mon, 30 Apr 2018 13:07:09 -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; 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 S1755955AbeD3T1Y (ORCPT + 99 others); Mon, 30 Apr 2018 15:27:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:33656 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755929AbeD3T1T (ORCPT ); Mon, 30 Apr 2018 15:27:19 -0400 Received: from localhost (unknown [104.132.1.102]) (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 0AB0722DCB; Mon, 30 Apr 2018 19:27:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0AB0722DCB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=gregkh@linuxfoundation.org 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 47/91] ALSA: hda/realtek - Add some fixes for ALC233 Date: Mon, 30 Apr 2018 12:24:29 -0700 Message-Id: <20180430184006.647880215@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180430184004.216234025@linuxfoundation.org> References: <20180430184004.216234025@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: Kailang Yang commit ea04a1dbf8b1d6af759d58e705636fde48583f8f upstream. Fill COEF to change EAPD to verb control. Assigned codec type. This is an additional fix over 92f974df3460 ("ALSA: hda/realtek - New vendor ID for ALC233"). [ More notes: according to Kailang, the chip is 10ec:0235 bonding for ALC233b, which is equivalent with ALC255. It's only used for Lenovo. The chip needs no alc_process_coef_fw() for headset unlike ALC255. ] Signed-off-by: Kailang Yang Cc: Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_realtek.c | 2 ++ 1 file changed, 2 insertions(+) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -331,6 +331,7 @@ static void alc_fill_eapd_coef(struct hd /* fallthrough */ case 0x10ec0215: case 0x10ec0233: + case 0x10ec0235: case 0x10ec0236: case 0x10ec0255: case 0x10ec0256: @@ -7015,6 +7016,7 @@ static int patch_alc269(struct hda_codec case 0x10ec0298: spec->codec_variant = ALC269_TYPE_ALC298; break; + case 0x10ec0235: case 0x10ec0255: spec->codec_variant = ALC269_TYPE_ALC255; break;