ASoC: tlv320aic32x4: Enable fast charge
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 11 Sep 2020 17:31:40 +0000 (19:31 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 21 Sep 2020 21:08:36 +0000 (22:08 +0100)
commitec96690de82cee2cb028c07b1e72cb4a446ad03a
treea949156241816384c8f6b42edef0955d3e00cf1b
parent40b37136287ba6b34aa2f1f6123f3d6d205dc2f0
ASoC: tlv320aic32x4: Enable fast charge

At power-up the analog circuits may take up to one full second before
being charged with the default configuration. Using the analog blocks
before they are ready generates a *very* crappy sound.

Enable the fast charge feature, which will require a bit more power
than normal charge but will definitely speed up the starting operation
by shrinking this delay to up to 40 ms.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20200911173140.29984-4-miquel.raynal@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320aic32x4.c
sound/soc/codecs/tlv320aic32x4.h