From patchwork Fri Feb 23 11:34:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gergo Koteles X-Patchwork-Id: 205331 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp522409dyb; Fri, 23 Feb 2024 03:35:13 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV4aEXhj+jKTv8NUj1x8iWEilXCZrXfCOF70lLxYA/GqZ9YmpD79Z5fJlhlFLuurZNCXEyEHTwuDZo1/Vcay3Mfu82blQ== X-Google-Smtp-Source: AGHT+IHtALKhPYzBYWcg4plB8P+itebs4sf1vvOAkkJowheELR8PgkCd5u4pOzF80KAtzt2U0G8a X-Received: by 2002:a17:906:f915:b0:a3e:a856:efae with SMTP id lc21-20020a170906f91500b00a3ea856efaemr1072509ejb.39.1708688113551; Fri, 23 Feb 2024 03:35:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708688113; cv=pass; d=google.com; s=arc-20160816; b=kJD0nPUgq4MmixYhIdZ/hPIYqVV5F9ml+R/DwQKiCF6JqGocn9AR0HP8xs2daCfqAy QJUTVZfPPNCO5WVvYezdHwXctOqvfOb5pSnZshw1q6SDyDzThSCxfjmL2+dATtg6rS8r NShXsvWi8eMZtpywkrAuaVCev1HuPkmkSvjHgWJUT+M0S72hkBCkEihYYudlcP63ugsD ToFus0Uomk/r7drww1Zwy4a13wYzV+hxyM9Jm/m1MEKU3q8J0uy4SCLUk8c/6jnsBY6k 0CRfQFbxE/z7kpuz4qewSQnC//f5iy8QTmrZCAEYIBlNIgqXDdXUMZ18Jlyo4mgje6WJ 31vQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=51w58wdETiM6tcl0RMe/hfAosNAXjGGCUh67tY3bRFU=; fh=wgR6YB7EAWshA+D2zHUnOndmlz7yyuYlcQpw+beVW64=; b=nF847UAvHcTL5q3UhHKA0rCtdis2xSnELnvjdFjOQszwuhQXP9JkOZ3Jr347nlBCvq giKSOgTkZj+5QtGmMVHKdIRK32rfVXf0PKRoN8wAtErXZOVRMocpsJ3XQw8jikf6k3xA oEVfxo+gYrDQYoEpIXPLeKEWtXOqf9/Z688/hzZkKhsdXlzZ3kL9E6yJU6NjNQ69w0zo 8grbI5/gmVxTH7i9QLuQP7oVAmi42/Euz9dGB5ASPk5/ooTIZVwXgNyRF4eVaCD5XLSs QHq9kXJlWCIXAB5vhERvSjbwjoG4bR4ZFJq5c8aSWquhWzj31GKhnhDv/JiZJrLLRzpk PkvA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=irl.hu dmarc=pass fromdomain=irl.hu); spf=pass (google.com: domain of linux-kernel+bounces-78226-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78226-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=irl.hu Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id c25-20020a170906155900b00a3e61a09aaesi5141102ejd.476.2024.02.23.03.35.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 03:35:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78226-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=irl.hu dmarc=pass fromdomain=irl.hu); spf=pass (google.com: domain of linux-kernel+bounces-78226-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78226-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=irl.hu Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2F1831F241E0 for ; Fri, 23 Feb 2024 11:35:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 322567AE50; Fri, 23 Feb 2024 11:34:58 +0000 (UTC) Received: from irl.hu (irl.hu [95.85.9.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AAA001758D; Fri, 23 Feb 2024 11:34:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.85.9.111 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708688096; cv=none; b=pFvCA1mpO+p0/XVpOSkg9c7MYekXBH+Fp5I/LAB41THDDa9avQOxVSEeRwjwwLmFnbaDk/ZpzQkfKbnwF2vfULzRMIwWcDPu7SkTBUU4nQHrrZYPhd0t5i2YLRAZym1hl17gxOXXNeicO4YJOWDF73T+F+heRJpnCjvPilVbkXY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708688096; c=relaxed/simple; bh=IYOdq5sD1YmRKu7QJkXS/lwxV/Q8L01LSzl/baU/5A8=; h=From:To:Cc:Subject:Date:Message-ID:Mime-Version:Content-Type; b=nYzM8qnibq8E72mu3p04DnDS/8oFUXtC5hc557WteLwQEzJhoS+ppHmZn2E0GvcMFb0bZ4xvgiSbYo5cYiOvF/OttG5xiQPGIGSyqeJsUmYHGbwq8Cy6hyQamkQW1ogHBX32FqHPc3TEsOmyQ+64E03TgKMtyTIUYje+9dFRQtc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=irl.hu; spf=pass smtp.mailfrom=irl.hu; arc=none smtp.client-ip=95.85.9.111 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=irl.hu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=irl.hu Received: from fedori.lan (51b68dc5.dsl.pool.telekom.hu [::ffff:81.182.141.197]) (AUTH: CRAM-MD5 soyer@irl.hu, ) by irl.hu with ESMTPSA id 0000000000075253.0000000065D882DC.001DC1EC; Fri, 23 Feb 2024 12:34:52 +0100 From: Gergo Koteles To: Jaroslav Kysela , Takashi Iwai , Shenghao Ding Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Gergo Koteles , stable@vger.kernel.org Subject: [PATCH] ALSA: hda/realtek: tas2781: enable subwoofer volume control Date: Fri, 23 Feb 2024 12:34:30 +0100 Message-ID: <7ffae10ebba58601d25fe2ff8381a6ae3a926e62.1708687813.git.soyer@irl.hu> X-Mailer: git-send-email 2.43.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mime-Autoconverted: from 8bit to 7bit by courier 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791689347024494418 X-GMAIL-MSGID: 1791689347024494418 The volume of subwoofer channels is always at maximum with the ALC269_FIXUP_THINKPAD_ACPI chain. Use ALC285_FIXUP_THINKPAD_HEADSET_JACK to align it to the master volume. Link: https://bugzilla.kernel.org/show_bug.cgi?id=208555#c827 Fixes: 3babae915f4c ("ALSA: hda/tas2781: Add tas2781 HDA driver") Cc: Signed-off-by: Gergo Koteles --- sound/pci/hda/patch_realtek.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) base-commit: b401b621758e46812da61fa58a67c3fd8d91de0d diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 0ec1312bffd5..24a26959070f 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9585,7 +9585,7 @@ static const struct hda_fixup alc269_fixups[] = { .type = HDA_FIXUP_FUNC, .v.func = tas2781_fixup_i2c, .chained = true, - .chain_id = ALC269_FIXUP_THINKPAD_ACPI, + .chain_id = ALC285_FIXUP_THINKPAD_HEADSET_JACK, }, [ALC287_FIXUP_YOGA7_14ARB7_I2C] = { .type = HDA_FIXUP_FUNC,