]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dapm: Don't use async I/O
authorMark Brown <broonie@kernel.org>
Mon, 15 Dec 2014 13:08:48 +0000 (13:08 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 6 Jan 2015 17:54:09 +0000 (17:54 +0000)
commitb8a35babf0fa38fbcc94714ed69fda8ebbd5a9c2
tree219355847491da5b56f43d4f4fd4006b4ac291b4
parent135a7af0cec1ad5d0e92b5abb5df686fc1dc2fe8
ASoC: dapm: Don't use async I/O

The only user of the async I/O support in ASoC is SPI which was using it to
avoid needless context thrashing and minimise controller runtime PM bounces.
The SPI framework has now been enhanced so that even normal spi_sync() calls
won't suffer these effects so we don't need to handle this in ASoC and in
fact it can be more efficient not to since we don't need to set up and tear
down the buffers needed to manage asynchronous I/O.

The async completions that DAPM does are left in place so drivers can use
them, they are very cheap if there is no asynchronous work queued.

Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-dapm.c