]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5514-spi: check irq status to schedule data copy in resume function
authoroder_chiou@realtek.com <oder_chiou@realtek.com>
Wed, 8 Nov 2017 07:04:22 +0000 (15:04 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 8 Nov 2017 21:29:09 +0000 (21:29 +0000)
commitbff62a504eb4312fa16021aaad1cc751cd6e80dd
tree70894fa7a397a4174b7ea6b363d16cb5efc7af49
parent2892bb8db021eb4ba3509f1717b0257f1913b5a6
ASoC: rt5514-spi: check irq status to schedule data copy in resume function

For wake on voice use case, we need to copy data from DSP buffer
to PCM stream when system wakes up by voice. However the edge
triggered IRQ could be missed when system wakes up, in that case
the irq function will not be called. If the substream was constructed
beforce suspend, we will schedule data copy in resume function.

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5514-spi.c