Received: by 10.192.165.148 with SMTP id m20csp4194244imm; Mon, 30 Apr 2018 13:36:01 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrVnVKbuWqBPj5x3zpx5kB4z6CCq3sfuv+OVP+Dw3TvhU59H1tCGSiQxRFIcbFdfynA94XX X-Received: by 2002:a17:902:b591:: with SMTP id a17-v6mr13587520pls.211.1525120561268; Mon, 30 Apr 2018 13:36:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525120561; cv=none; d=google.com; s=arc-20160816; b=w9z2ZsCQZR6Ncz913TmATRIVnBRyuzZxTgzq46k6pAFhxow/B7czdCp6RNljWbN4iz XHv8T4UZgJMwl1oM/5mpGwo4WhtCBgm/yydPd5N6Q5x3/PFZWTMN2JEzfI5JKB1wolbI VhRtA/Ah/64rkioYJVSXg+NHobro0EbeHAY/QyNZ8dwYTnogHbCs8Ma1hfhEblFZgMHV q6o1aq6/kKKmFWhYe4Dc2VShDU5yHiyT+Xq9puRv+CNgdBoNQQ405rSV0DEex5Ssz27E 2S3W5139Dmyy6m+C35NFauTpSF4cUKoV0NvBik4IsUFW+6XnCsPDPSTdmarxJ4F5Rt7O ganA== 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=O86QaZAmcu5sqbGog+5eW1E4bBOY/Qj4tvxZFDDmBsA=; b=xbFbKjqjv2YIU45H8DT+1wzJ6gvkkqx2yQ2/OyGBsMUFL2vYyWPTJktar7v/fvV8U9 pWTnb8djxStUyTtvwCGFU9okdZbAoL3ciDfCJry5hLZ79IiUrS2nTZqAEaO/znM+UgH7 WHREVbbcQR4kjNKySmdKt7JQnMZst8pbVSFJMS7HZtNz8GUP3BhjA3M7NAAsVlqueKA4 Uo6UUjsVnuEFx2vDbFPMMfdLCo6YHhUTR3WGN78wNJV9veexiD2qaR6BJ/4cIr9gP6AO PbK7MMVZCrSg/z4WcjU5zcaRlOsUfwdQoUZKR3a44ACva8mSARBjzLPfkPN5SIzYXUf0 hveg== 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 x10-v6si6484258pgt.109.2018.04.30.13.35.16; Mon, 30 Apr 2018 13:36:01 -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 S1755667AbeD3UfJ (ORCPT + 99 others); Mon, 30 Apr 2018 16:35:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:58886 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755445AbeD3TZ6 (ORCPT ); Mon, 30 Apr 2018 15:25:58 -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 89A4722DBF; Mon, 30 Apr 2018 19:25:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 89A4722DBF 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.4 29/44] ALSA: hda/realtek - Add some fixes for ALC233 Date: Mon, 30 Apr 2018 12:24:40 -0700 Message-Id: <20180430190947.500978130@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180430190946.093694747@linuxfoundation.org> References: <20180430190946.093694747@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.4-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 @@ -329,6 +329,7 @@ static void alc_fill_eapd_coef(struct hd break; case 0x10ec0225: case 0x10ec0233: + case 0x10ec0235: case 0x10ec0236: case 0x10ec0255: case 0x10ec0256: @@ -6296,6 +6297,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;