ASoC: cs35l41: Move power initializations to reg_sequence
authorLucas Tanure <tanureal@opensource.cirrus.com>
Fri, 17 Dec 2021 11:57:01 +0000 (11:57 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 31 Dec 2021 13:21:02 +0000 (13:21 +0000)
commit062ce0593315e22aac527389dd6dd4328c49f0fb
treedc9ade1fbd76dce580366a47037f6fc2c913c6e9
parentfe120d4cb6f6cd03007239e7c578b8703fe6d336
ASoC: cs35l41: Move power initializations to reg_sequence

ASoC and HDA systems for all revisions of CS35L41 will benefit
from having this initialization, so add it to reg_sequence of
each revision

By moving to reg_sequence all gains are set to zero. And boost,
monitoring parts, and class D amplifier are disabled.

Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20211217115708.882525-4-tanureal@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l41-lib.c
sound/soc/codecs/cs35l41.c