From patchwork Mon Jan 22 18:47:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vitaly Rodionov X-Patchwork-Id: 190356 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp2785479dyb; Mon, 22 Jan 2024 11:22:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IHc5lGZkEcDqE0kEL3A2uP2/0CR13aBJtXP4iNhO6hiNdHYHJK3OIB/hsu/UDE3AcaNsq5Q X-Received: by 2002:a05:6a21:920b:b0:19b:6c56:73ee with SMTP id tl11-20020a056a21920b00b0019b6c5673eemr7541662pzb.6.1705951333502; Mon, 22 Jan 2024 11:22:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705951333; cv=pass; d=google.com; s=arc-20160816; b=P9IaFJ3sRBUkCeuQ5cro35/Ze7TouofoG5UlqPglvaV+mIUYsPe2JN3BHGx7neOdSs urv4pXjQ6GrzOknKUfl+eA8WbSszIFWEf4gieEIRiqZ88iPAR0lNyigKEBPJsug8UBfF qCp3ARcTNFIPGs5VfuFx9EyTGzOKr+35o5YvI0tamN3F78m4FOJXA7AMC5CgvmwCRGxS CWsr3wUtcR6xcGod64UonZbrKK3NLCzd7uHSiUYmHc3jvS6CldvmwIAEERTMfZV4xGo/ a1/NmQTNUkRfkcjXkg6uplVu+RjOm9qJdj+D3dGiyffJuosyqrzu6K895NnWzewqSLhD UfPg== 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:dkim-signature; bh=VkiWtsyAhD5poWwiOG59Zhs6f5A5ZaAm657wTjx1lyY=; fh=CdVRjZdsOSsVMM4dy07pKSpI6rvX2+jmsk2peISOzZk=; b=qhFIifQotgD02rRMLyVOMHlrKRpICCO37J6LkiOk3BMeCE4CeU0+pv9v83CeQrGsPy gcQxmLKEayWuu4cvQVSOnMVIeo8EF/SWbc+KAYD+VCwSoisy07gRHMQNRIKs8MpZmTJe U1Lf1FunYZcRG/l4XpugtQ72awGbnK8u4Jf/unaP46Fwev6ZJNSJk2xmI5MyC11amZh0 mXqhL8TRR+r/t6jT7ZgkzFSqfrCSpdAo58YWb+BgwuPuFW9dZiF7PvSZvbUBWv6IjBO0 jVNsk3vgMjRDgEtkJIj8QTXtX3sVAxLv4o4nhfLpY84+/rAbSQyhS1/biA/VGyhKiXIR 6WpA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=Dj7LG9kF; arc=pass (i=1 spf=pass spfdomain=opensource.cirrus.com dkim=pass dkdomain=cirrus.com dmarc=pass fromdomain=opensource.cirrus.com); spf=pass (google.com: domain of linux-kernel+bounces-34023-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34023-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id x37-20020a634865000000b005ce574756bfsi8531882pgk.659.2024.01.22.11.22.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 11:22:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-34023-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=Dj7LG9kF; arc=pass (i=1 spf=pass spfdomain=opensource.cirrus.com dkim=pass dkdomain=cirrus.com dmarc=pass fromdomain=opensource.cirrus.com); spf=pass (google.com: domain of linux-kernel+bounces-34023-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34023-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C987828AD83 for ; Mon, 22 Jan 2024 19:11:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A098858114; Mon, 22 Jan 2024 18:47:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cirrus.com header.i=@cirrus.com header.b="Dj7LG9kF" Received: from mx0b-001ae601.pphosted.com (mx0a-001ae601.pphosted.com [67.231.149.25]) (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 7539A3FE26 for ; Mon, 22 Jan 2024 18:47:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=67.231.149.25 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705949268; cv=none; b=AMSXtGuiHUgoF7zVpNu9J1wweivBuIQdYWCv4CNrRfAK8UqCQBAhpBCiOkyrUIRCtIOWRGVYPlPffL1HtfSFLViwNn9DJ2cpawLSsvJ3H5uHhztYIECeL5fW9RhzcZEcmuLXKrrvNKrACuANL95hWRQPDu3hP/q8o8Jc/2fhNpY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705949268; c=relaxed/simple; bh=yNWjQEhqiBhpcGomz7GYxV+WTENan9gghULSm32sqlE=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=AgxftXA/Sl/hP0/JxsKMvVx8+IoujMVGXK1E0qXaTrwkKfoaIydWQ9LIDt59h4E/RniLPlZ7KvlA9OCnBbVXn5cL+DNOSJYrGRxufsRQF2Z9wmLXnGAEdgZnXfqTU/QAXkwDtPtIsqotEXPZky+e+dgQFxQebPUR9fyCHvUtpAU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=opensource.cirrus.com; spf=pass smtp.mailfrom=opensource.cirrus.com; dkim=pass (2048-bit key) header.d=cirrus.com header.i=@cirrus.com header.b=Dj7LG9kF; arc=none smtp.client-ip=67.231.149.25 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=opensource.cirrus.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=opensource.cirrus.com Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40MFaTcN005855; Mon, 22 Jan 2024 12:47:22 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=PODMain02222019; bh=V kiWtsyAhD5poWwiOG59Zhs6f5A5ZaAm657wTjx1lyY=; b=Dj7LG9kFrgE9po+vw 9jiUUGn0N8RqeeGE+G5kEJgz6n1Qb+rntAtHIV8rx4d09VLEKhrZT3VtoDwlTZUD 4F4tWgU217WiR1KB4Zypy0napLxBrFIGWgYqojMautgj2CuPzuX5VxCx/zcAvPWZ phe7LFMGwpHsgqzQrWE9vWe0HmEJWG/xVlVYSinBA2r+iv6I4UDk9ufG7aFy3utO 81yU9ObqBwpI8W8dexTIlBOFGNIKtvSX0CCC5ci/Y0ZZ6pdrxf4Xr6rITSE6oMRV JsgVaiSWR2urae8GeClhB46L+/sVz0r/RgyHHVOi2WGs2N4UT+gCmTORy1FPhpIb NZPZg== Received: from ediex01.ad.cirrus.com ([84.19.233.68]) by mx0a-001ae601.pphosted.com (PPS) with ESMTPS id 3vrcf32xaf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Jan 2024 12:47:21 -0600 (CST) Received: from ediex02.ad.cirrus.com (198.61.84.81) by ediex01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Mon, 22 Jan 2024 18:47:19 +0000 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by anon-ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server id 15.2.1118.40 via Frontend Transport; Mon, 22 Jan 2024 18:47:19 +0000 Received: from lon-bigdaddy.ad.cirrus.com (unknown [198.61.65.241]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 6BFA611D3; Mon, 22 Jan 2024 18:47:19 +0000 (UTC) From: Vitaly Rodionov To: Takashi Iwai , Jaroslav Kysela CC: , , , Vitaly Rodionov Subject: [PATCH] ALSA: hda/cs8409: Suppress vmaster control for Dolphin models Date: Mon, 22 Jan 2024 18:47:10 +0000 Message-ID: <20240122184710.5802-1-vitalyr@opensource.cirrus.com> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: i3yZTsMWsKwhp3pCo0bEw_gT9KKii5ID X-Proofpoint-GUID: i3yZTsMWsKwhp3pCo0bEw_gT9KKii5ID X-Proofpoint-Spam-Reason: safe X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788819625362609357 X-GMAIL-MSGID: 1788819625362609357 Customer has reported an issue with specific desktop platform where two CS42L42 codecs are connected to CS8409 HDA bridge. If "Master Volume Control" is created then on Ubuntu OS UCM left/right balance slider in UI audio settings has no effect. This patch will fix this issue for a target paltform. Signed-off-by: Vitaly Rodionov --- sound/pci/hda/patch_cs8409.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_cs8409.c b/sound/pci/hda/patch_cs8409.c index 627899959ffe..e41316e2e983 100644 --- a/sound/pci/hda/patch_cs8409.c +++ b/sound/pci/hda/patch_cs8409.c @@ -1371,6 +1371,7 @@ void dolphin_fixups(struct hda_codec *codec, const struct hda_fixup *fix, int ac spec->scodecs[CS8409_CODEC1] = &dolphin_cs42l42_1; spec->scodecs[CS8409_CODEC1]->codec = codec; spec->num_scodecs = 2; + spec->gen.suppress_vmaster = 1; codec->patch_ops = cs8409_dolphin_patch_ops;