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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Apr 2021 13:00:05 +0000 (15:00 +0200)
commit73df108e3aec619e229c19b4527d2c01877327ea
tree408fdb2a88211d01bc5e800d5849eec2b30ea382
parent9b7b92c4b92d748cd6b047a86a6f0b3b6bd018be
ASoC: cs42l42: Always wait at least 3ms after reset

[ 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>
sound/soc/codecs/cs42l42.c
sound/soc/codecs/cs42l42.h