]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm_adsp: Set booted/running flags at the end of bring up
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Tue, 24 Jan 2017 11:44:00 +0000 (11:44 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 24 Jan 2017 12:14:36 +0000 (12:14 +0000)
commitb7039efa7a68f0c8a8735ab81e6dbad315acd7e3
tree46a454fdf2ed84d8b3e30dc62a63561aee4dd37b
parent420b6d0979193d9ca06584d74f3f19ae7e67c41f
ASoC: wm_adsp: Set booted/running flags at the end of bring up

The booted and running flags should really only be set once all the
steps at that power level have been complete. Currently operations can
fail after the flags have been set, which would leave us in an
inconsistent state where the flags are set but the things expected to
reach that level have not happened. Whilst there isn't really any major
impact from this it is best to clean it up.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c