Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp110954yba; Mon, 20 May 2019 05:55:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqy5y/O/vOrxIvTzYpZ6vJp6N9fZDO6HKn5bQionZ7XxbFPCNuQ+rj5V3PeRUfnWnJMNFxf0 X-Received: by 2002:a62:e303:: with SMTP id g3mr79549668pfh.220.1558356903052; Mon, 20 May 2019 05:55:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558356903; cv=none; d=google.com; s=arc-20160816; b=0oaF06Uykpk5bMNFWsG6c8F+gXdzXhHy6S+rhbCYhgwjSM/ASBVs12Mtk6Quzd2o7c FMRN/rO2qb8j8pHpzpm7TPW6vWJDpSWX4kmXR4h5f9d1ou8bRAlgU+4JsGZudr13Dksh QIuc+2w5j6o05ZUxe2kN4CmElFp0kwz++oIT6etu029Ur7Q64xRwqN/OIe4jYmx8vlVE rGrEYDNf2DKeM9yE28Eq5cmEXEc1H5VaFtqaAgCshIgR0WI3zqDstTsxr5z5ErZv/vMg S0xOueqS9OfVmU6g57VHyjt0OBiEvrJxI/wTyquUmcZB/6a1n61ZVmhivc/snz6CwdtT jlKA== 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=Bqw6bBPMVUOhI70sJP5lau13nTCJ774qzwbwMk5jSSQ=; b=MhT+xSPGgMJLc8En6d6Vgw1/mzzckkrttFPk9+BHRYgaDD8k6Tm4mcB3/HJchZiwLy VeQZT/C6+oCw8cQn1iA63N2Dmb42Hw+AVg1KoMIJdfTOoAHgJE5b5TVD/LfBTvnpvqWn vka8LfS4nKSwi//7Mu8v1nR/xVYblQ4aadH2T3dKy4DSVf9YGt8lof61iihsGFfnuudq tN7jqjEmkow/IF9CXtxdYJ5cfjOD4snu2np/El2Z0j6ynVZUtM4sI8GmcppLS/XRCZHR IjFsksXnqvI/qLYWy+6s7ghzNMa/nYK8am7RBUerZ5/IYbqgYSnyLYF7FSInvA59AvXv 2ntw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Z3g3vMuH; 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 m189si17658381pgm.13.2019.05.20.05.54.48; Mon, 20 May 2019 05:55:03 -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=Z3g3vMuH; 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 S1733197AbfETMRt (ORCPT + 99 others); Mon, 20 May 2019 08:17:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:58842 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387640AbfETMRq (ORCPT ); Mon, 20 May 2019 08:17:46 -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 AD02B20815; Mon, 20 May 2019 12:17:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558354666; bh=MHtzLynhiwHnLx+hQspArY6tt0YSzMNA0OrTKrFkw0E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Z3g3vMuHQ4ByJ/OK6hbVIpbKGgVzuI/GLmUUC77kaAtigr9S9xnQajWysyXtNRmWR iBIbSxfVU0FIsZYOk3syogyhn/eII/ZbHDmy7CuQZcCwjkCHWKlbWavX/ZwnbB6C95 6SOu2MqxqPsFHdw07GYFEq/5YZMaZMFSO0KnpF8A= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Micha=C5=82=20Wadowski?= , Takashi Iwai Subject: [PATCH 4.9 43/44] ALSA: hda/realtek - Fix for Lenovo B50-70 inverted internal microphone bug Date: Mon, 20 May 2019 14:14:32 +0200 Message-Id: <20190520115236.017387315@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190520115230.720347034@linuxfoundation.org> References: <20190520115230.720347034@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: Michał Wadowski commit 56df90b631fc027fe28b70d41352d820797239bb upstream. Add patch for realtek codec in Lenovo B50-70 that fixes inverted internal microphone channel. Device IdeaPad Y410P has the same PCI SSID as Lenovo B50-70, but first one is about fix the noise and it didn't seem help in a later kernel version. So I replaced IdeaPad Y410P device description with B50-70 and apply inverted microphone fix. Bugzilla: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1524215 Signed-off-by: Michał Wadowski Cc: Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_realtek.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -5854,7 +5854,7 @@ static const struct snd_pci_quirk alc269 SND_PCI_QUIRK(0x17aa, 0x3112, "ThinkCentre AIO", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY), SND_PCI_QUIRK(0x17aa, 0x3902, "Lenovo E50-80", ALC269_FIXUP_DMIC_THINKPAD_ACPI), SND_PCI_QUIRK(0x17aa, 0x3977, "IdeaPad S210", ALC283_FIXUP_INT_MIC), - SND_PCI_QUIRK(0x17aa, 0x3978, "IdeaPad Y410P", ALC269_FIXUP_NO_SHUTUP), + SND_PCI_QUIRK(0x17aa, 0x3978, "Lenovo B50-70", ALC269_FIXUP_DMIC_THINKPAD_ACPI), SND_PCI_QUIRK(0x17aa, 0x5013, "Thinkpad", ALC269_FIXUP_LIMIT_INT_MIC_BOOST), SND_PCI_QUIRK(0x17aa, 0x501a, "Thinkpad", ALC283_FIXUP_INT_MIC), SND_PCI_QUIRK(0x17aa, 0x501e, "Thinkpad L440", ALC292_FIXUP_TPT440_DOCK),