OSDN Git Service

ASoC: omap-mcpdm: Add pm_qos handling to avoid under/overruns with CPU_IDLE
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 14 Nov 2018 11:06:22 +0000 (13:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Dec 2018 08:24:35 +0000 (09:24 +0100)
commit38f3a0f0105235567101fea3020cbabc23ea0733
tree9a5a2752427bae6afe5e2c1401551f059806ff6d
parentabf7201316a357adf3ef64e70f1599c52edaf59e
ASoC: omap-mcpdm: Add pm_qos handling to avoid under/overruns with CPU_IDLE

[ Upstream commit 373a500e34aea97971c9d71e45edad458d3da98f ]

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 under of 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-mcpdm.c