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 6223A19CD0C; Thu, 25 Jul 2024 14:54:10 +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=1721919250; cv=none; b=suANF3ePLxP6v14xzdG/wRU/3ga/DVoMNPNFNY5QutyUGxg/hpTQFGR8RPb2uL5qCclNPte080WSgM/vc/V0jeSMoeuR8xAfeJqFX+Kt80mOwXqbYLr5/17sfI5zIHInlwQXIr5ODQ6a4DnbLHqO5j8NfYVV5ixE6pnE387pP4c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721919250; c=relaxed/simple; bh=2EwJJpCxoL70b/eYY1BdHMe1VSZ5/x5MpkR6JtWznqI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gjfQw1Okdk0OAAGjODMiBG1PImptiGgS1CPE+LB2Rgvh9HXUcuKRWTmTtdD96w9cJPaW7H6L6dkzQf1ZX3Qa+4T7vkF+T7vs38fQajfoXy+2rOvifEZQ1w/ddgfsblDV01Kgrn5PXX8kLO0ARBJjmqSzEXtht9iuwyGdQa/KG7M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wMPiYqyr; 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="wMPiYqyr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C8B38C116B1; Thu, 25 Jul 2024 14:54:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1721919250; bh=2EwJJpCxoL70b/eYY1BdHMe1VSZ5/x5MpkR6JtWznqI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wMPiYqyrQOW6S6ZKGWyagLYOzkuU3gODxSXzObF/ztgMH2JEcljfQltIXk3S2X5MI RZXzsw4LRiw0Gq3FcBgCRcVzjnE6Xa6CQEQFxiH9/CadnQqlGq0QuPaS4C83ckOizH MkWhV7yRkw+v0Z8SDCLiwpiId+yXsCICTD1m92UU= 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.15 38/87] bytcr_rt5640 : inverse jack detect for Archos 101 cesium Date: Thu, 25 Jul 2024 16:37:11 +0200 Message-ID: <20240725142739.871283323@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240725142738.422724252@linuxfoundation.org> References: <20240725142738.422724252@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.15-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 434679afa7e1a..3d2a0e8cad9a5 100644 --- a/sound/soc/intel/boards/bytcr_rt5640.c +++ b/sound/soc/intel/boards/bytcr_rt5640.c @@ -607,6 +607,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