Commit c9a394fd authored by Shuming Fan's avatar Shuming Fan Committed by sanglipeng
Browse files

ASoC: rt711: add two jack detection modes

stable inclusion
from stable-v5.10.193
commit d643d3f322e85487bb0a1670b9f306032f967037
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I9399M

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d643d3f322e85487bb0a1670b9f306032f967037



--------------------------------

commit 683b0df2 upstream.

Some boards use different circuits for jack detection.
This patch adds two modes as below
1. JD2/2 ports/external resister 100k
2. JD2/1 port/JD voltage 1.8V

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


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Cc: Philip Müller <philm@manjaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent f14f0b99
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment