ASoC: Intel: Skylake: Add support for active suspend
authorJeeja KP <jeeja.kp@intel.com>
Thu, 3 Dec 2015 18:00:00 +0000 (23:30 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 8 Dec 2015 17:58:07 +0000 (17:58 +0000)
commit4557c305d4fc9356563a1d41fa6fe29e494f0460
tree93e690ed39597290d2ef907c515abd7a71352388
parent820f339fe9fcabee17d3d2ba2b48a51368a51bf4
ASoC: Intel: Skylake: Add support for active suspend

Some of the usecases can be marked as 'ignore_suspend' by
machine. For these on suspend we should keep audio controller
ON by saving the state and not suspending the device

For this we need to maintain a counter for these streams and be
active on suspend when such a stream is opened.

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-pcm.c
sound/soc/intel/skylake/skl.c
sound/soc/intel/skylake/skl.h