diff options
author | Maarten Zanders <maarten.zanders@mind.be> | 2022-10-28 18:26:25 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-11-25 22:31:53 +0300 |
commit | dffa0df699d7c20f447e6bd797666366c6bae4b3 (patch) | |
tree | aeec807ababbef3f3b4616d27e02e7955cba0829 /drivers/net/wwan/iosm/iosm_ipc_devlink.c | |
parent | 27b6fa6145215c5f49d93e322a16144b928ecd3e (diff) | |
download | linux-dffa0df699d7c20f447e6bd797666366c6bae4b3.tar.xz |
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: Maarten Zanders <maarten.zanders@mind.be>
Link: https://lore.kernel.org/r/20221028152626.109603-4-maarten.zanders@mind.be
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_devlink.c')
0 files changed, 0 insertions, 0 deletions