Skip to content
Commit e2cef68d authored by Jie Yang's avatar Jie Yang Committed by Mark Brown
Browse files

ASoC: rt286: add jack detection disable with NULL jack passed



Some platforms, e.g. WSB, don't need jack detection when
system is in Suspend, for power save reason.

Here add headphone/mic jack detection disable feature with NULL
jack passed in, when disabled, it will disable interrupt, and
disable LDO1, which is used for jack detection when headphone
is plugged in.

Signed-off-by: default avatarJie Yang <yang.jie@intel.com>
Reviewed-by: default avatarBard Liao <bardliao@realtek.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent c517d838
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