]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Add check_dsp_lp_on callback on IPC
authorVinod Koul <vinod.koul@intel.com>
Mon, 26 Sep 2016 05:35:28 +0000 (11:05 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 28 Oct 2016 18:05:48 +0000 (19:05 +0100)
commitc6b6a65a69c3b84e7717c8e089bfcc9365b95094
tree30e85621453dab0d6b6242db70d040efb6353ad1
parented9c715c1605ea7e02567d4541ca9206eda1bf43
ASoC: Intel: Add check_dsp_lp_on callback on IPC

Some controllers support power modes which can't communicate using IPC.

So add a callback to check and wake DSP before sending IPC and then put
to sleep if it is in these power modes.

Signed-off-by: Jayachandran B <jayachandran.b@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/sst-ipc.c
sound/soc/intel/common/sst-ipc.h