OSDN Git Service

ASoC: tlv320aic32x4: Ensure a minimum delay before clock stabilization
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 11 Sep 2020 17:31:38 +0000 (19:31 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 21 Sep 2020 21:08:34 +0000 (22:08 +0100)
commit5b4458ebb4c8007dae7eaeb88cb52b2bb4879894
tree7fbcf3b8d0c6d5843d39f66b4a39d3d42d67db30
parent501ef013390b774e8e61000a78d1d640d6c3411d
ASoC: tlv320aic32x4: Ensure a minimum delay before clock stabilization

As indicated in the datasheet, a 10ms delay must be observed after
programming the divisors.

The lack of delay prevents the codec to work properly and the playback
appears extremely slow and totally un-audible on a custom sama5 based
board.

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