ASoC: Intel: add kcontrol to enable/disable sound effect module waves
authorLu, Han <han.lu@intel.com>
Thu, 12 Mar 2015 05:53:00 +0000 (13:53 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 12 Mar 2015 19:18:14 +0000 (19:18 +0000)
commit76c07b8265c68d9a89fb4c0a634e373a087f11be
treed972cf3abd74d00193df8c22e4b0e7a1da51be20
parente8e79ede44ec99e09f8604c23ee99dc25065a343
ASoC: Intel: add kcontrol to enable/disable sound effect module waves

Add kcontrol to enable/disable module waves. IPC is valid only when module
is loaded. Also track module state over suspend so it's state can be restored
on resume.

Signed-off-by: Lu, Han <han.lu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/sst-haswell-ipc.c
sound/soc/intel/sst-haswell-ipc.h
sound/soc/intel/sst-haswell-pcm.c