Received: by 10.192.165.148 with SMTP id m20csp4183418imm; Mon, 30 Apr 2018 13:23:00 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrudpXFfMeUGrvmjownVtSxSJ46OLnZfwxtrRZCb339cF9acMaX3WxvSS1uF5aGH/CPTq7r X-Received: by 10.98.34.145 with SMTP id p17mr13381930pfj.236.1525119780790; Mon, 30 Apr 2018 13:23:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525119780; cv=none; d=google.com; s=arc-20160816; b=EUXTa209GI9FcC1UpRWQ6JKxo5CtGQmRLESbWt+a2xxmfOej4MCpmDVo7nkePuVAas H2CtOICAIdQymjKJVkoZTcU7QrbPZ4w2qtjeuCRIPR/QedBkNQOGGfMkrnjRgwOi3Fmz OzlCztU4LcrPaCA7nRdZG5f/ntoCGxMtQeiMfbQoyLkAVbCtdE3O8opVZHDCiTosxqCn 3I72VwN6swHnWKMk7u8JPmD8qG5NWgcXtBah/xeso61sY+7aQ95EbyPxfoIjb1qfdc/I NBjITmInPAvaDhEhHvOmezidnYq0snKOIvVAJ97TxpLPl3P+tRs3/9uMOxPZyaB6y3Fs QyVw== 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=kbn83g9l+hhmbOIn8R8otvnsK39XFavL3q1nr1zOWnY=; b=1CO6I1ew0NNaNAjUtda1JX63/6BZJ/7b6j2Md6mD2dgYHYkiictIHvFTQx3cinKmTY QK6FmS2liG+fpHDBJbjRGK+m/8iZatukLloIqQK25rzVzRb4YNSz7AmlSpXFJmVeeD5I 6lUHcse3BqPz9fmH1oL5S5DIVeozAGeBJA9J0MOfosnVBcQY8Kkw/JE0HfZVPPEINBte sLaEX8cU2RvzRoRl424OAFpQyQ/jRXvM48AT8S//rLrRjN0nBkL01fftK3m+9MiQamWA vfcK/od/EU0pzSPID8eTUe3bRwkq7KYTOOnw62pY1IBkLW8YC5hI/e6A5pdOT4evGAVc z5TA== 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 d16-v6si8605073pli.176.2018.04.30.13.22.47; Mon, 30 Apr 2018 13:23:00 -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 S1755734AbeD3T0i (ORCPT + 99 others); Mon, 30 Apr 2018 15:26:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:60354 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755628AbeD3T0d (ORCPT ); Mon, 30 Apr 2018 15:26:33 -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 D62DB22DC9; Mon, 30 Apr 2018 19:26:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D62DB22DC9 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.9 35/61] ALSA: hda/realtek - Add some fixes for ALC233 Date: Mon, 30 Apr 2018 12:24:38 -0700 Message-Id: <20180430183954.357383618@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180430183951.312721450@linuxfoundation.org> References: <20180430183951.312721450@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.9-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: @@ -6359,6 +6360,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;