]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs35l41: Correct DSP power down
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Wed, 5 Jan 2022 11:30:21 +0000 (11:30 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 5 Jan 2022 13:53:51 +0000 (13:53 +0000)
commitc4f41f94bb4a85139156cee879dd68ab0c600297
treefafd051fd78ec5f3d31a4e2a37f16203a78c6a8d
parent89d2c05e619425d6d0a419bd28ef9053c6f0fe1a
ASoC: cs35l41: Correct DSP power down

The wm_adsp_event should be called before the early_event on power
down, event stops the core running and early_event then powers down
the core. Additionally, the core should only be stopped if it was
actually running in the first place.

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