Skip to content
Unverified Commit dffa0df6 authored by Maarten Zanders's avatar Maarten Zanders Committed by Mark Brown
Browse files

ASoC: adau1372: correct PGA enable & mute bit



The DAPM control for PGAx uses the PGA mute bit for
power management. This bit is active high but is set to
non-inverted (ie when powering, it will mute).
The ALSA control "PGA x Capture Switch" uses the active
high PGA_ENx bit, but is set to inverted. So when
enabling this switch, the PGA gets disabled.

To correct the behaviour, invert both these bits.

Signed-off-by: default avatarMaarten Zanders <maarten.zanders@mind.be>
Link: https://lore.kernel.org/r/20221028152626.109603-4-maarten.zanders@mind.be


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 27b6fa61
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