]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5682: fix a little pop while playback
authorDerek Fang <derek.fang@realtek.com>
Thu, 14 Oct 2021 09:40:54 +0000 (17:40 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 14 Oct 2021 11:47:31 +0000 (12:47 +0100)
commitcc3747d35f38b7855a5c4ca2315d3cc0d26c10b7
tree68874b4745f0ea23323106aaad61704f9b2f6e2f
parentdf1198b26e22f925c554f07d4ecf1c18789453f5
ASoC: rt5682: fix a little pop while playback

A little pop can be heard obviously from HP while playing a silent.
This patch fixes it by using two functions:
1. Enable HP 1bit output mode.
2. Change the charge pump switch size during playback on and off.

Signed-off-by: Derek Fang <derek.fang@realtek.com>
Link: https://lore.kernel.org/r/20211014094054.811-1-derek.fang@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5682.c
sound/soc/codecs/rt5682.h