]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ASoC: cs42l42: Always wait at least 3ms after reset
authorLucas Tanure <tanureal@opensource.cirrus.com>
Fri, 5 Mar 2021 17:34:32 +0000 (17:34 +0000)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 8 Apr 2021 20:42:44 +0000 (15:42 -0500)
commit6bed761150cc4cb9019409263cd88a3ae4fd6ac5
tree2e255438fe3123582ac24ee944cc69ebd99b399c
parent20830b1a3b3b88e1648fc743a3eacf6a9f1e8c7d
ASoC: cs42l42: Always wait at least 3ms after reset

BugLink: https://bugs.launchpad.net/bugs/1923069
[ Upstream commit 19325cfea04446bc79b36bffd4978af15f46a00e ]

This delay is part of the power-up sequence defined in the datasheet.
A runtime_resume is a power-up so must also include the delay.

Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210305173442.195740-6-tanureal@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
sound/soc/codecs/cs42l42.c
sound/soc/codecs/cs42l42.h