Files
Cristian Ciocaltea af66058d13 ASoC: nau8821: Add DMI quirk to bypass jack debounce circuit
[ Upstream commit 2b4eda7bf7d8a4e2f7575a98f55d8336dec0f302 ]

Stress testing the audio jack hotplug handling on a few Steam Deck units
revealed that the debounce circuit is responsible for having a negative
impact on the detection reliability, e.g. in some cases the ejection
interrupt is not fired, while in other instances it goes into a kind of
invalid state and generates a flood of misleading interrupts.

Add new entries to the DMI table introduced via commit 1bc40efdaf
("ASoC: nau8821: Add DMI quirk mechanism for active-high jack-detect")
and extend the quirk logic to allow bypassing the debounce circuit used
for jack detection on Valve Steam Deck LCD and OLED models.

While at it, rename existing NAU8821_JD_ACTIVE_HIGH quirk bitfield to
NAU8821_QUIRK_JD_ACTIVE_HIGH.  This should help improve code readability
by differentiating from similarly named register bits.

Fixes: aab1ad11d6 ("ASoC: nau8821: new driver")
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://patch.msgid.link/20251003-nau8821-jdet-fixes-v1-4-f7b0e2543f09@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-10-23 16:20:33 +02:00
..
2024-06-10 12:48:36 +01:00
2024-08-01 12:51:45 +01:00
2024-06-28 13:39:30 +01:00
2024-08-26 15:52:09 +01:00
2023-12-06 23:06:55 +00:00
2023-12-01 16:59:23 +00:00
2023-08-11 21:12:45 +02:00
2025-02-08 09:58:18 +01:00
2024-08-19 19:57:56 +01:00
2024-03-26 11:24:24 +00:00
2025-02-08 09:57:26 +01:00
2024-09-05 12:31:03 +01:00
2024-09-05 12:31:03 +01:00
2024-03-28 15:54:04 +00:00
2024-06-18 16:45:46 +01:00
2024-10-17 12:11:33 +01:00
2024-10-17 12:11:33 +01:00
2024-10-17 12:11:33 +01:00
2024-10-17 12:11:33 +01:00
2024-04-03 16:07:41 +01:00
2024-04-03 16:07:41 +01:00
2024-04-30 00:15:57 +09:00
2024-04-30 00:15:57 +09:00
2022-10-13 13:01:32 +01:00
2024-04-03 16:07:41 +01:00
2024-04-03 16:07:41 +01:00
2024-04-03 16:07:41 +01:00
2022-07-08 11:52:42 +01:00
2024-08-08 09:14:57 +01:00