ASoC: core: Change power state before rechecking endpoint
authorJeeja KP <jeeja.kp@intel.com>
Mon, 23 Nov 2015 15:52:31 +0000 (21:22 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 25 Nov 2015 12:52:29 +0000 (12:52 +0000)
commit1a7aaa58ec7aaa389cd6b200809908ec472d316b
treec2952d4317e15ab7e67fc442f659b2bf568435cd
parentfd589a1be20fdd76ef97700dd0185e7a060546dc
ASoC: core: Change power state before rechecking endpoint

For DAPM resume, we should first change the power state of the
card and then recheck the endpoints. This ensures the dapm is
resumed first and then userspace can resume the streams.

Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c