Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3002461ybi; Mon, 17 Jun 2019 14:26:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqz3/xKzxJP0zHN+T6EPthHqvt25NheaTSsxcqZzCWKm3b5ik7IK6/0DXgBBUFgRifGQUMEH X-Received: by 2002:a17:90a:9306:: with SMTP id p6mr1151862pjo.6.1560806802341; Mon, 17 Jun 2019 14:26:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560806802; cv=none; d=google.com; s=arc-20160816; b=S7WS7bTw1lTtVryGb+IipRDEVO3AKL4BG4aT0AupOOiQ6DcC4lS6m2fJOgF8N4Todm M5WqYjtobqZWpKQg/mFDK6D1cLyl1EIN66rNP2n1gu1RjdI3ACa3Te+AAPl2C1r8VIll Z5as2HgxUXNuNpgkE4DBz+gzXG0nJ8L9uBL2JjOQ+pHmuJhMwqUz4oMLTTfff9uSGAjm WQqKmBJvSQoabT2Xk+W/hFHEOjG3M70w7T5y0CF/d5ylxAvjMWmK9bdqEK69pGVJsOEk nmD3JaWbKV8ZlX4G2QgZZ3+h/SXvUzcqYIRKfzRZfsrGhXY+W1foIEUMWZTgIruqM6FH lEYA== 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=DqwC0mZALm3V4OBTp8oqxvkoDezdCGZ2vJyqZL+kofE=; b=iJnNQGoAPWUTC9z9iPn8pO58YoErMrzo4Tsb/+GNH0YZOv9bFtTzBvvsi4B929hIW4 bS25pUlrJEqWWqWZybbG1eU/IU0w9Fdalveadu/SRmGEEJrst5JOZQboD0WoJnNoAbn3 +us8W4hgJk/L94NDRkrGG0TEzXKZbWqtzurR1qPnWFJladL7JL/jHvPtMPAA/5lT8oBf EGPy8S3WpXhVMks/pO1dU4OULxWiYvJTQA2wJNdmvS4HQINj8WxcoC6YTVM5/OK8uPQP pIhRwKNkhWFxoEK0MCCX0mv6p/Tpin26qIJRGhJ6yX6V/DaoyTXOWCigWwmD41dLSLi+ Whkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=l16vOfBT; 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 u4si4026935pgk.48.2019.06.17.14.26.27; Mon, 17 Jun 2019 14:26:42 -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; dkim=pass header.i=@kernel.org header.s=default header.b=l16vOfBT; 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 S1728253AbfFQVZN (ORCPT + 99 others); Mon, 17 Jun 2019 17:25:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:51152 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730034AbfFQVZK (ORCPT ); Mon, 17 Jun 2019 17:25:10 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 39D2920673; Mon, 17 Jun 2019 21:25:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560806709; bh=7Iv5Ulhl84qu6JpysTXKjrWoWEeyUTjni8Mbp9/vFsk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=l16vOfBTLwrYV4jWxVBVxm9fUkYbWvavT/o11TI7doRWWlMmDD58LuF6XmA1MNWa9 S5zZdC68fAUjbcagJWUWIHSPHAAXJFHOJWq3TThkq0BZkQBG8bqe45Ay1OkN8LU0Gg jAoDHL9ZEAgm5RNNPqYVIkaZ58uC6NuOxtoBUEV8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hui Wang , Takashi Iwai Subject: [PATCH 4.19 09/75] Revert "ALSA: hda/realtek - Improve the headset mic for Acer Aspire laptops" Date: Mon, 17 Jun 2019 23:09:20 +0200 Message-Id: <20190617210753.220340169@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190617210752.799453599@linuxfoundation.org> References: <20190617210752.799453599@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: Hui Wang commit 17d304604a88cf20c8dfd2c95d3decb9c4f8bca4 upstream. This reverts commit 9cb40eb184c4220d244a532bd940c6345ad9dbd9. This patch introduces noise and headphone playback issue after rebooting or suspending/resuming. Let us revert it. BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=203831 Fixes: 9cb40eb184c4 ("ALSA: hda/realtek - Improve the headset mic for Acer Aspire laptops") Cc: Signed-off-by: Hui Wang Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_realtek.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -6084,15 +6084,13 @@ static const struct hda_fixup alc269_fix .chain_id = ALC269_FIXUP_THINKPAD_ACPI, }, [ALC255_FIXUP_ACER_MIC_NO_PRESENCE] = { - .type = HDA_FIXUP_VERBS, - .v.verbs = (const struct hda_verb[]) { - /* Enable the Mic */ - { 0x20, AC_VERB_SET_COEF_INDEX, 0x45 }, - { 0x20, AC_VERB_SET_PROC_COEF, 0x5089 }, - {} + .type = HDA_FIXUP_PINS, + .v.pins = (const struct hda_pintbl[]) { + { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */ + { } }, .chained = true, - .chain_id = ALC269_FIXUP_LIFEBOOK_EXTMIC + .chain_id = ALC255_FIXUP_HEADSET_MODE }, [ALC255_FIXUP_ASUS_MIC_NO_PRESENCE] = { .type = HDA_FIXUP_PINS, @@ -7124,10 +7122,6 @@ static const struct snd_hda_pin_quirk al {0x19, 0x0181303F}, {0x21, 0x0221102f}), SND_HDA_PIN_QUIRK(0x10ec0255, 0x1025, "Acer", ALC255_FIXUP_ACER_MIC_NO_PRESENCE, - {0x12, 0x90a60140}, - {0x14, 0x90170120}, - {0x21, 0x02211030}), - SND_HDA_PIN_QUIRK(0x10ec0255, 0x1025, "Acer", ALC255_FIXUP_ACER_MIC_NO_PRESENCE, {0x12, 0x90a601c0}, {0x14, 0x90171120}, {0x21, 0x02211030}),