Received: by 10.192.165.148 with SMTP id m20csp4155191imm; Mon, 30 Apr 2018 12:49:23 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr9Q6hhvDlF2uCmJnKOp4NNM+KPZVEUfiXbyu1cetIeG0jJqSL39bIqi1QfAGPoj5PqnZew X-Received: by 2002:a17:902:864b:: with SMTP id y11-v6mr12586189plt.86.1525117763846; Mon, 30 Apr 2018 12:49:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525117763; cv=none; d=google.com; s=arc-20160816; b=OJo1bQJeDj72efaVbP4ao8d6ErDd1wPCzfEf5MzKDoQ15CcJt9pTZeMqujt1Sy0P39 /T5A075aRv/noa6YjXJegNUoHU4yevdpye2dQWCMqRWnm5tv+Q7sfnd4BWO5HUMBG1yL L0ru2/pdd0w5Rwr8LTXqO5lhprdGnlg/+wndJIEQIYplKMl/Xvan/dCMiny6ZDYIxeeg BPwO6Y1ivrHlw/rxdfE0F3AL/xqP2gBsm7mVXXOiUNMXJqvFIrlQ3XRqk8KClfibiK6b RjeTgz1RBmMnyRhVw4+n18T74UeXXQJVgqbavuwg+5bOYD/Oetgb2voDrDjlJu/yc3hO +rfQ== 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=kRhLgNuyJuKfV5DbDnLehxQIiaZqGneza3H/YnzJnNY=; b=j6p/FrvkSpvKPdEg1Q8Wg6M0WDUNU8vHqW2ZppYoFfc7+EW/rHf+7ZWixtLZXRUI4+ MmirmK59cvv3m2zKdkeF1I1CBfdmTWiJEMX/tcNo2RGvt/jaa0xiyHocseKB3J+ui03e R0w2opUpRs7FoYo/oZ/r5OtSt3OnqmlpO8/TX6iiap44oWyuMekCfWp+vxOOhA1roFQ8 6YYAu1YgIIm/sblbE5vWbk/tDN7RvNEDR8ksMfa4b9IXiekdB2HhPsdYogODW94Razm0 L5HdZesgy5TFef9+aWzZewwnmZjp8dcU5jChcWWrH963DbTrZWKVDHtVe7bsHlCRsHSi +WIA== 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 h10si8018046pfh.278.2018.04.30.12.49.09; Mon, 30 Apr 2018 12:49:23 -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 S1756656AbeD3TrT (ORCPT + 99 others); Mon, 30 Apr 2018 15:47:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:35854 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756264AbeD3T2T (ORCPT ); Mon, 30 Apr 2018 15:28: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 63CDD22DC1; Mon, 30 Apr 2018 19:28:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 63CDD22DC1 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.16 051/113] ALSA: hda/realtek - Add some fixes for ALC233 Date: Mon, 30 Apr 2018 12:24:22 -0700 Message-Id: <20180430184017.216034799@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180430184015.043892819@linuxfoundation.org> References: <20180430184015.043892819@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.16-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: @@ -7160,6 +7161,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;