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 860F013D896; Tue, 23 Jul 2024 18:41:17 +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=1721760077; cv=none; b=UnZF9te9ixf4uFoawvA2nFSVeBhR39o8rpLlyDzI7VVw+W5KRrUY1nxceC8ejOzJ4YmQa1Tfy8lxU+kaT8+sz0PnrZEJ2a6RB+qj9QKdLTzsxOjKHYA65VuTC1KkEf17+asYgd6jUM0aQJk6x4Lf5s/TZrePVPLhkpKkTmlCXSg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721760077; c=relaxed/simple; bh=aXnXGtcCJtLlyIcV+gYTezpzoCxwdu5bUSP07Cg7f+M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EYYrjHh8tQhYuvBuccps/n5qdyUvUZsXfKkSzmYCsg00y/flvXAUWtVwLp1AVWpz2m5r0l5yU3R2eG699efe6XwtiiGWCkDnYe8IRLsRkxT6QJcZw+KdbPQNRwl2bURvhe7yDCd8lG9bc/zFrYxM8+EwcfTGreWZFr5pbMvDTEY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hXWciaIA; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="hXWciaIA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0B576C4AF09; Tue, 23 Jul 2024 18:41:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1721760077; bh=aXnXGtcCJtLlyIcV+gYTezpzoCxwdu5bUSP07Cg7f+M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hXWciaIA6xYA/rAqFwfyR+gBbfSltShkLBSUzNm/v/sMWaH3xCEh9fECY3rx9NjyN Od6814VJ9pb3brO5etqwHfajftyYCM6Z14jRIUI/DxpNOYkN5J1proeIkOpxr6K3a6 CwdOzPDnWzYU1ahmVe9lN/g0Ezzboihpi/QfueiY= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Thomas GENTY , Hans de Goede , Pierre-Louis Bossart , Mark Brown , Sasha Levin Subject: [PATCH 6.9 095/163] bytcr_rt5640 : inverse jack detect for Archos 101 cesium Date: Tue, 23 Jul 2024 20:23:44 +0200 Message-ID: <20240723180147.148781299@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240723180143.461739294@linuxfoundation.org> References: <20240723180143.461739294@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.9-stable review patch. If anyone has any objections, please let me know. ------------------ 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 b41a1147f1c34..a64d1989e28a5 100644 --- a/sound/soc/intel/boards/bytcr_rt5640.c +++ b/sound/soc/intel/boards/bytcr_rt5640.c @@ -610,6 +610,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