From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B7041C3DA41 for ; Tue, 9 Jul 2024 16:29:03 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id E3D8B192A; Tue, 9 Jul 2024 18:28:51 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E3D8B192A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1720542541; bh=mP2+Pn/3K3evspy9XGb9JyHVN6ZUhaYHN7nE6Ykj3Ws=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=X/gGF0YcO61AwKOc2keO3A0RW2DxNf0Hs6+QnqJ6+ND1BAQ3dIkJ5m1Pm9uFMxI7o d6fzC7F0PKtERM22mWdx/7HWM870vm2TO2Bq5zFC5KIOpTx41bn2RAWENsdMb8lEdC vLqAf80dqsiuPqMnG6yF0+Ktjzga9RTTZdqIzJqQ= Received: by alsa1.perex.cz (Postfix, from userid 50401) id A75F5F80601; Tue, 9 Jul 2024 18:27:37 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id E579EF805F1; Tue, 9 Jul 2024 18:27:36 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id EC006F8019B; Tue, 9 Jul 2024 18:27:31 +0200 (CEST) Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 41006F8019B for ; Tue, 9 Jul 2024 18:27:02 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 41006F8019B Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=EB2+WQ45 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id B0DECCE12B6; Tue, 9 Jul 2024 16:27:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2243C3277B; Tue, 9 Jul 2024 16:26:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1720542419; bh=mP2+Pn/3K3evspy9XGb9JyHVN6ZUhaYHN7nE6Ykj3Ws=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EB2+WQ45r/Kr4frTVvI1Lys9Ksh2aOonaN1op5xFLQmzI5/R6peZxS8Z88bL9Pe5i xjNZPpDiWB17oDK2uum1fDrHhOY20GtSYBfJiYalBTKqd1LOl44jpCCGYL8VbZS2u8 u6x5Smp2a/UBPYSMeryc1EPnsym0ckSW3coOwSusSdtIU9XB/qzaUtxtdrWJPMPnyK C0DoLsTutp5e5mwjTR0yFSm0QTWmk4uULzcb6ClOxmE6w/OiTZ6MiGNl4PJJqFmlyH RmdFX/Uc4ereofJQhI9QQJN7oanmEjCsu1UlGs9aXcJPPmY/LnqZZP+3+F3EdsD0Ck 2NJyV9dS0DzpA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Thomas GENTY , Hans de Goede , 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, kuninori.morimoto.gx@renesas.com, alban.boye@protonmail.com, alsa-devel@alsa-project.org, linux-sound@vger.kernel.org Subject: [PATCH AUTOSEL 5.4 02/11] bytcr_rt5640 : inverse jack detect for Archos 101 cesium Date: Tue, 9 Jul 2024 12:26:35 -0400 Message-ID: <20240709162654.33343-2-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240709162654.33343-1-sashal@kernel.org> References: <20240709162654.33343-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 5.4.279 Content-Transfer-Encoding: 8bit Message-ID-Hash: M3ULP7HTCJSGJFW6PY4I6G77O7NMWO3J X-Message-ID-Hash: M3ULP7HTCJSGJFW6PY4I6G77O7NMWO3J X-MailFrom: sashal@kernel.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Thomas GENTY [ Upstream commit e3209a1827646daaab744aa6a5767b1f57fb5385 ] When headphones are plugged in, they appear absent; when they are removed, they appear present. Add a specific entry in bytcr_rt5640 for this device Signed-off-by: Thomas GENTY Reviewed-by: Hans de Goede Acked-by: Pierre-Louis Bossart Link: https://lore.kernel.org/r/20240608170251.99936-1-tomlohave@gmail.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/intel/boards/bytcr_rt5640.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sound/soc/intel/boards/bytcr_rt5640.c b/sound/soc/intel/boards/bytcr_rt5640.c index c740dec00f83b..057ecfe2c8b5c 100644 --- a/sound/soc/intel/boards/bytcr_rt5640.c +++ b/sound/soc/intel/boards/bytcr_rt5640.c @@ -465,6 +465,17 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = { BYT_RT5640_SSP0_AIF1 | BYT_RT5640_MCLK_EN), }, + { + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ARCHOS"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ARCHOS 101 CESIUM"), + }, + .driver_data = (void *)(BYTCR_INPUT_DEFAULTS | + BYT_RT5640_JD_NOT_INV | + BYT_RT5640_DIFF_MIC | + BYT_RT5640_SSP0_AIF1 | + BYT_RT5640_MCLK_EN), + }, { .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ARCHOS"), -- 2.43.0