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 4AFCA19D067; Thu, 25 Jul 2024 14:42:29 +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=1721918549; cv=none; b=hGYbwNvHma//vS8LqTNdFhVIt1R59a2Tu5vbkMt1sPCSDGxbw3TWDUksLX0FNMglJe2rD/mAysEaeeKp+7MNREKrCxndZ6t8ZtV6zZzxYf22xif+EoG9cPBVvupRMPDJkP33ZWkaGrXT4abB/YfkZfXPLur1TY5THKXOSaleYOM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721918549; c=relaxed/simple; bh=yKeUMlEBqaKDUb/iLIDpFv0nVN8x+1hxSfoqFRCxi28=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nujHxLa2OpUQsjAmwvCzqxwTclCm8YD6JxnOCBLw3f/HZZWNFDJcQ2LhsLZq60E9a30b3D1K8VpY8c9p+gEqh8hE3DEd/T4sBafqP9zzinLyvZh/n/x2OjLWGhgXhh7iq+qGasdSGtPy4T6i662U8UenbNUbEo1WqxJGUIWf9i8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ABIVfNEm; 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="ABIVfNEm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4B1BC116B1; Thu, 25 Jul 2024 14:42:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1721918549; bh=yKeUMlEBqaKDUb/iLIDpFv0nVN8x+1hxSfoqFRCxi28=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ABIVfNEmyr6lNwsffAYG83ax7mYQZJHki7nY118eJKoIypNUd5/Gp9jjDoR9jzkoe jNnRh41i8E8PFCc09ZnlGXnF+0/qAvL9Dv0Fco4pwiRJ8O0lWkvgPMuWABg97xWCPW lt4YlPxCVcKhYEqjNrGjuyWBRGZE62hqji6wqebY= 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 5.4 19/43] bytcr_rt5640 : inverse jack detect for Archos 101 cesium Date: Thu, 25 Jul 2024 16:36:42 +0200 Message-ID: <20240725142731.199676055@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240725142730.471190017@linuxfoundation.org> References: <20240725142730.471190017@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 5.4-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 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