ASoC: Intel: boards: kbl_da7219_max98927: add dai_trigger function
authorMac Chiang <mac.chiang@intel.com>
Fri, 3 May 2019 02:48:17 +0000 (10:48 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 6 May 2019 14:56:41 +0000 (23:56 +0900)
commit53fdea9604fa1560bdbf418bbca564dbbebef211
tree4488ae8e7b97e1b83e5d01c2a8354b222fa2914a
parent378d590c494551a68a824b939c711bb9a280e9ef
ASoC: Intel: boards: kbl_da7219_max98927: add dai_trigger function

amplifier feedback is not modeled as being dependent on any active
output. Even when there is no playback happening, parts of the graph,
specifically the IV sense->speaker protection->output remains active
and this prevents the DSP from entering low-power states.

This patch suggest a machine driver level approach where the speaker
pins are enabled/disabled dynamically depending on stream start/stop
events. DPAM graph representations show the feedback loop is indeed
disabled and low-power states can be reached.

Signed-off-by: Jenny TC <jenny.tc@intel.com>
Signed-off-by: Harshapriya.n <harshapriya.n@intel.com>
Signed-off-by: Mac Chiang <mac.chiang@intel.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/kbl_da7219_max98927.c