Skip to content
Unverified Commit 9b7612bb authored by Samuel Holland's avatar Samuel Holland Committed by Mark Brown
Browse files

ASoC: sun50i-codec-analog: Gate the amplifier clock during suspend



The clock must be running for the zero-crossing mute functionality.
However, it must be gated for VDD-SYS to be turned off during system
suspend. Disable it in the suspend callback, after everything has
already been muted, to avoid pops when muting/unmuting outputs.

Signed-off-by: default avatarSamuel Holland <samuel@sholland.org>
Acked-by: default avatarChen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20200726025334.59931-3-samuel@sholland.org


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