From mboxrd@z Thu Jan 1 00:00:00 1970 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 77FC615B541; Sun, 28 Jul 2024 16:08:41 +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=1722182921; cv=none; b=EsS2cT1VnbVk9tQNHp+hllhmnHCz2v/TnV0bg/SRZhP69fAvsGm+BNOA169GH8tYuRTbOwWEysXk0RQhKCH0o8QrjxKX7m4+N9gR6/G77oJtnxS3KzNAfVfKhxJzxZIfvkxbxBmomwNwB2gWoSNAcMXNMGGc62tDUcwtc0P/lb4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722182921; c=relaxed/simple; bh=HPO7cGP7s8Ww89uL/cVx3o/ppVc1I+iEoYqDdS7ryLI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=sHwsRpPgTPcJ1azkwmXlEpWDg7hJNAF0AW4EUlUX1N4E4JFUzY+/gtXuc3oKkS9zTCIpXEf6ydBjvsfXz2t3Ve6/PflM4dlxfj8RhajL+k4UaGd+F0NLH5VYmCDi97rawn06uDlIV0hhh1niL6SsxCKv5P6UO52A1C/guTKZ3mg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kRRU90JA; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kRRU90JA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5ED63C32782; Sun, 28 Jul 2024 16:08:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1722182921; bh=HPO7cGP7s8Ww89uL/cVx3o/ppVc1I+iEoYqDdS7ryLI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kRRU90JAnb7ilxQDsM6JjtFiI2IQgJJuyO4c/9a5BlPXwCvASvx/a4Qj6VRteKJRN fTes81ZvsITOVr0et2zPaZ8VDz/z6iyngEmtMQu1PrIA/4+bmV2SZTXr5BTiJYC1tW eCwY7e+6JrsUr6XtnFembeLTSKZvQtwSNEFptNnf2VSt5jxNQfZxIAU1h1AZnIyXYG zE/1zeihk1HvKNDRY6qo+WBlEM/Yr3kvE9VQtnEB8b8/uO0ApgxaktFX3KJmxgoE7h 74A6z+zBIS0HDgGEWztb3TFeM5tbJJcFmOT7vuAzY1upcnI+PcueutoazWPA6EOIaq Tr2Bz5t3z+ksQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Pierre-Louis Bossart , =?UTF-8?q?P=C3=A9ter=20Ujfalusi?= , Bard Liao , Mark Brown , Sasha Levin , cezary.rojewski@intel.com, liam.r.girdwood@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.1 10/15] ASoC: Intel: sof_sdw: add quirk for Dell SKU 0B8C Date: Sun, 28 Jul 2024 12:07:54 -0400 Message-ID: <20240728160813.2053107-10-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240728160813.2053107-1-sashal@kernel.org> References: <20240728160813.2053107-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.1.102 Content-Transfer-Encoding: 8bit From: Pierre-Louis Bossart [ Upstream commit 92d5b5930e7d55ca07b483490d6298eee828bbe4 ] Jack detection needs to rely on JD2, as most other Dell AlderLake-based devices. Closes: https://github.com/thesofproject/linux/issues/5021 Signed-off-by: Pierre-Louis Bossart Reviewed-by: Péter Ujfalusi Reviewed-by: Bard Liao Link: https://patch.msgid.link/20240624121119.91552-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 cf501baf6f143..9cd85ab19c553 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -387,6 +387,15 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = { RT711_JD2 | SOF_SDW_FOUR_SPK), }, + { + .callback = sof_sdw_quirk_cb, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"), + DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0B8C"), + }, + .driver_data = (void *)(SOF_SDW_TGL_HDMI | + RT711_JD2), + }, { .callback = sof_sdw_quirk_cb, .matches = { -- 2.43.0