Skip to content
Commit 1613195b authored by Shuming Fan's avatar Shuming Fan Committed by Greg Kroah-Hartman
Browse files

ASoC: rt5650: add mutex to avoid the jack detection failure



[ Upstream commit cdba4301 ]

This patch adds the jd_mutex to protect the jack detection control flow.
And only the headset type could check the button status.

Signed-off-by: default avatarShuming Fan <shumingf@realtek.com>
Link: https://lore.kernel.org/r/20231122100123.2831753-1-shumingf@realtek.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b45e21b5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment