ASoC: cs35l41: Fix DSP mbox start command and global enable order
authorLucas Tanure <tanureal@opensource.cirrus.com>
Thu, 3 Mar 2022 17:30:42 +0000 (17:30 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 7 Mar 2022 13:12:38 +0000 (13:12 +0000)
commit5e02fb590e83684f63217f93a9cdeabd6a925f9c
tree0b124e46fda6bedb588014d0d310fdff68638235
parent16639d39bdf577168d3fe34315917a94365c8d19
ASoC: cs35l41: Fix DSP mbox start command and global enable order

Global enable must happen before CSPL_MBOX_CMD_RESUME command
is sent. Move it to PRE_PMU as both events use
SND_SOC_DAPM_OUT_DRV_E macro.

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