]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ASoC: cs35l35: Add additional delay for reset
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Wed, 31 May 2017 15:51:13 +0000 (16:51 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 6 Jun 2017 18:54:18 +0000 (19:54 +0100)
commitdc43f46a9b6988a40d4e11d05b8107d4546c61b9
treeb57f3f0344d5e1b62f4ac2fb6e78f7d6cedc9c6d
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
ASoC: cs35l35: Add additional delay for reset

Very fast systems may violate the minimum constraints for time the reset
line needs to remain low, or communicate with the device too soon after
releasing the reset. Fix this by adding some delays in to allow the chip
to properly reset, also factor out the reset into a function as it is
likely it will be re-used in later additions to the driver.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Paul Handrigan <Paul.Handrigan@cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l35.c