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)
commitf999d1fd69ede11012a872cbdba33bd9c9c2e386
tree30e85621453dab0d6b6242db70d040efb6353ad1
parent6a7f5e41128de638fae7522262d18a6ef9cf1096
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