ASoC: Intel: Skylake: Fix PM behaviour
authorJeeja KP <jeeja.kp@intel.com>
Tue, 27 Oct 2015 00:23:00 +0000 (09:23 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 16 Nov 2015 10:08:09 +0000 (10:08 +0000)
commit61722f447243d4d8f249a9359ffc5a21c1587f36
treef2e2ac98579766b6c0e77477677faaedb122a67a
parent3e81f1a3c702641227cc59c0dd7a2a5bec741e0f
ASoC: Intel: Skylake: Fix PM behaviour

The driver runtime behaviour is fine but in suspend, we missed
setting the DSP to suspend and also missed resuming DSP on
resume.

Fix this by having common SKL suspend and resume routines which
power up/down links, suspend/resume DSP and other common
routines, and call these routines from both runtime as well as
system PM handlers

Signed-off-by: Jayachandran B <jayachandran.b@intel.com>
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl.c