OSDN Git Service

ASoC: omap-dmic: Add pm_qos handling to avoid overruns with CPU_IDLE
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 14 Nov 2018 11:06:23 +0000 (13:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Dec 2018 20:55:10 +0000 (21:55 +0100)
commit476bea0f653c47228d22975a16858a080de04993
treec24c475e3f8ecb842b856cb4a7319c575036d972
parent3aa69785b7d5c0257a0d7c88c746d26c96a46e66
ASoC: omap-dmic: Add pm_qos handling to avoid overruns with CPU_IDLE

[ Upstream commit ffdcc3638c58d55a6fa68b6e5dfd4fb4109652eb ]

We need to block sleep states which would require longer time to leave than
the time the DMA must react to the DMA request in order to keep the FIFO
serviced without overrun.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/omap/omap-dmic.c