From: Lars-Peter Clausen Date: Tue, 6 May 2014 08:32:15 +0000 (+0200) Subject: ASoC: dapm: Fix SUSPEND -> OFF bias sequence X-Git-Tag: omap-for-v3.16/fixes-against-rc1~177^2~3^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce85a4d726ecd286f933d4eedf01c5acb4f47a38;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed