ASoC: wm_adsp: Specifically propagate voice trigger event to caller
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Fri, 13 May 2016 15:45:17 +0000 (16:45 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 30 May 2016 15:14:59 +0000 (16:14 +0100)
commit20b7f7c5f13652d6db84b4a68d2473a0d767cac1
tree978a6f9f86183911ccb16b6293730a7d52318ff2
parent97126ce8ce8d6f023b8ce3b71c3df882a2951605
ASoC: wm_adsp: Specifically propagate voice trigger event to caller

The DSP uses an IRQ to indicate data is available on the compressed
stream. For voice trigger use-cases the first such IRQ can be considered
an indication that the user has spoken the key phrase triggering the
firmware. Provide a means for the ADSP code to communicate back to the
calling driver whether an IRQ should be considered as trigger event or
not.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c
sound/soc/codecs/wm_adsp.h