Skip to content
Unverified Commit d5961e43 authored by Arnaud Ferraris's avatar Arnaud Ferraris Committed by Mark Brown
Browse files

ASoC: sun50i-codec-analog: Enable jack detection on startup



This commit adds the necessary setup to enable jack detection on startup
as well as the callback function enabling the microphone ADC when
headset bias is enabled. The microphone ADC is also disabled in suspend.

Signed-off-by: default avatarArnaud Ferraris <arnaud.ferraris@collabora.com>
[Samuel: Moved MICADCEN setup to HBIAS event, added bias hooks]
Signed-off-by: default avatarSamuel Holland <samuel@sholland.org>
Signed-off-by: default avatarOndřej Jirman <megi@xff.cz>
Link: https://msgid.link/r/20240302140042.1990256-4-megi@xff.cz


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent c556814b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment