diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-05-06 10:32:15 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-12 23:06:34 +0200 |
commit | ce85a4d726ecd286f933d4eedf01c5acb4f47a38 (patch) | |
tree | 97dc538834a6c246e0a9083d62e8e92e67ed55b1 /kernel/locking/mcs_spinlock.c | |
parent | ASoC: dapm: Skip CODEC<->CODEC links in connect_dai_link_widgets() (diff) | |
download | linux-ce85a4d726ecd286f933d4eedf01c5acb4f47a38.tar.xz linux-ce85a4d726ecd286f933d4eedf01c5acb4f47a38.zip |
ASoC: dapm: Fix SUSPEND -> OFF bias sequence
Currently when the DAPM context bias level is SUSPEND and the target bias level
is OFF dapm_pre_sequence_async() will first transition to PREPARE and
dapm_post_sequence_async() will then transition back from PREPARE to STANDBY and
then to OFF.
This patch makes sure that dapm_pre_sequence_async() only transitions to PREPARE
when either going to ON or away from ON. This avoids the extra unnecessary
transitions.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'kernel/locking/mcs_spinlock.c')
0 files changed, 0 insertions, 0 deletions