Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2136694lqb; Mon, 27 May 2024 09:00:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU6mY3Sh/B9m4TTp5ZAy0nk+gGJeyIF4uFNYexeEoHKw18+r4HUlc99m6phivEpYWuu6QmnBgAkdLVOBICMNknVQZo20ptQFa4KNPcylg== X-Google-Smtp-Source: AGHT+IH90/TOy10+7fAuo4TTNSWwEHUzka6zRy5XRCdiCk1yGB1rf7a3RRjxuyq8uJXHYmfRJztg X-Received: by 2002:a05:6a20:9753:b0:1b0:24e7:5a32 with SMTP id adf61e73a8af0-1b212e1cbb0mr8078595637.39.1716825641002; Mon, 27 May 2024 09:00:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716825640; cv=pass; d=google.com; s=arc-20160816; b=ecPAvnlAPgYje7JFBXDI0T0jywj1Yav3GgaCbOr7c2n7st31HXZ2HRlTTjfzftLTih dHCWXh2rNw7ks70c1OksQ7JHSQmQTCGRwrOQ3Wql038q56m5ICHlljc767aLeM5mqXo9 ornllnmc+glOkDgXCHh9/+F8rHw7YNNIG56iAs2NI5zfhLCREos9RaINMgcW7wK+pFXf 1uUvfpVcKixOgE9apmk/A2wb2gg6Gusig1ONwKALqs2uTJJlKhg8mb9CEEqG20yJTP6N J+YZ/eXsCSNOwC7y+rDoJGpQc4z8R5qRv+DeMtWGQ2eBDnaw2TQRBKChBsNjPN6akg4v ft7w== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=sugGgCfJ2lA9DurirY0EpBcl4ItgjIMLmaKiJWv58Xs=; fh=4sTvojiUgYEIVdbujPoljHUxHkCerFeruccvcDW8E+s=; b=OERItCqFjTeXcbQP03Adsz11CZdPkpMxYUCJOL7Yj2MFbr2gj43OsW4/JzAfgkwlfA Gw4zFfD0yP/7v9KHh+wmZCshG6wm8VvJL5cKDPmWeksUXixJRtzXsUe6c0zeyx0xpZ7n +1I0DhbrSVXbDMU2E4JvyLbER/nWRME3DA7rdwSKIf8w6jCbrNC1WofQqaJG50u31Ii3 M6j0N7H2CK9kO/iI3YUKWUPslbMkCdSD1aOmeT9zvyPNoZO0oeutse3qr7WiMlMCnj76 uuYTJ2jl/B3blv2aG+4tmipo+Bnaj9yEHU12ApAnlHZ91fEYEK3nwIOWsOqnN0griE11 T5tA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XQhTrfRs; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-191107-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191107-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-68229934266si3783546a12.601.2024.05.27.09.00.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 09:00:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191107-linux.lists.archive=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=@kernel.org header.s=k20201202 header.b=XQhTrfRs; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-191107-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191107-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 6B0BA28E575 for ; Mon, 27 May 2024 15:53:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6DBBE73478; Mon, 27 May 2024 15:52:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XQhTrfRs" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 8C26717E8E2; Mon, 27 May 2024 15:52:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716825128; cv=none; b=e++SzzwoBF6+DphlWelzk865AGu5VF22445b3rQilySgHkU7Grpk+5vsVKbrYzjXE+9MgvWDWqGkbSFbfvIiLJDJIs+2+O+oLSZfaHmtKhQpThp7GuDfj8aqdDHf0Pel77X2TacF6lxR4rvNSggxBprz99wLozaGhmPy9lGhDKE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716825128; c=relaxed/simple; bh=2cLx1RTnLIZnsam3m/uMcFJB/9IKs3dw7YoYr5Yf46k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=JTP1FLEKGkQprj0riHOUi+r4lD/OZTPFNeo0U8Jn/YumPbwMFaikdPDkW7N1EPq+lizhryBXMQ8I0UCoYee9kOy/MgpnqQjYeOlR7gDFUsXGfe1gZQ++Vqd1ap0puJsVam6dpsyo9QXLUSd71o++kEAoCWRQmN0UXU5FXnd+PJI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XQhTrfRs; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6584FC4AF08; Mon, 27 May 2024 15:52:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716825128; bh=2cLx1RTnLIZnsam3m/uMcFJB/9IKs3dw7YoYr5Yf46k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XQhTrfRslkJjPbNnEn1XmIuo9RlCJqoRqp71BSlUALfNy33GryknV+/cojNKVUGU2 yQX5pm9zsiC0Z7GbgeziIsx7MEH3ODSdOXgu4Wb2m03lz3E/WveDrz1iD83JaL03j+ otiPOm8zSgYemkVYkhTow3RTBsrh9W29uTQEwqhGtERH2xZqt8tSNqdC2Ye1TaqcPC fbYj44OsRFCHF4YJuG+XvydVwC/GC1KYd9HMarKwbiku50xToC7fuKAi5GlEz7Z4RA XYq4Uaib5q5LoQvaV5RLSa0g219fj6IzK5YLMgeh/5JcQUzsz4CUrHuFaFwgW8lv87 3v2InRlsKFoyg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Pierre-Louis Bossart , Mark Brown , Sasha Levin , cezary.rojewski@intel.com, liam.r.girdwood@linux.intel.com, peter.ujfalusi@linux.intel.com, yung-chuan.liao@linux.intel.com, ranjani.sridharan@linux.intel.com, kai.vehmanen@linux.intel.com, perex@perex.cz, tiwai@suse.com, ckeepax@opensource.cirrus.com, alsa-devel@alsa-project.org, linux-sound@vger.kernel.org Subject: [PATCH AUTOSEL 6.9 08/23] ASoC: Intel: sof_sdw: add JD2 quirk for HP Omen 14 Date: Mon, 27 May 2024 11:50:09 -0400 Message-ID: <20240527155123.3863983-8-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240527155123.3863983-1-sashal@kernel.org> References: <20240527155123.3863983-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.9.2 Content-Transfer-Encoding: 8bit From: Pierre-Louis Bossart [ Upstream commit 4fee07fbf47d2a5f1065d985459e5ce7bf7969f0 ] The default JD1 does not seem to work, use JD2 instead. Signed-off-by: Pierre-Louis Bossart Link: https://lore.kernel.org/r/20240411220347.131267-4-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/intel/boards/sof_sdw.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sound/soc/intel/boards/sof_sdw.c b/sound/soc/intel/boards/sof_sdw.c index 08f330ed5c2ea..f4f08e9031506 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -495,6 +495,15 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = { SOF_BT_OFFLOAD_SSP(1) | SOF_SSP_BT_OFFLOAD_PRESENT), }, + { + .callback = sof_sdw_quirk_cb, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "HP"), + DMI_MATCH(DMI_PRODUCT_NAME, "OMEN Transcend Gaming Laptop"), + }, + .driver_data = (void *)(RT711_JD2), + }, + /* LunarLake devices */ { .callback = sof_sdw_quirk_cb, -- 2.43.0