aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-meson/meson.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2014-12-10 13:46:33 +0000
committerMark Brown <broonie@kernel.org>2014-12-11 12:25:30 +0000
commitfc9e0f71f2d7ea43fa3ba0bea68586d1462cb5a7 (patch)
treef32627b66f9bb1f2330f629526f0d5111360be22 /arch/arm/mach-meson/meson.c
parentspi: Pump transfers inside calling context for spi_sync() (diff)
downloadlinux-dev-fc9e0f71f2d7ea43fa3ba0bea68586d1462cb5a7.tar.xz
linux-dev-fc9e0f71f2d7ea43fa3ba0bea68586d1462cb5a7.zip
spi: Only idle the message pump in the worker kthread
In order to avoid the situation where the kthread is waiting for another context to make the hardware idle let the message pump know if it's being called from the worker thread context and if it isn't then defer to the worker thread instead of idling the hardware immediately. This will ensure that if this situation happens we block rather than busy waiting. Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/arm/mach-meson/meson.c')
0 files changed, 0 insertions, 0 deletions