summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMartin Sperl <kernel@martin.sperl.org>2015-04-22 10:33:03 +0300
committerMark Brown <broonie@kernel.org>2015-04-27 17:45:50 +0300
commita750b124cfd27bae1a12df22318db5a2083dfb12 (patch)
tree79be85d4598b85cc2f9ba5700dac7bd04d4083b7 /tools
parent76ee0235be5a24b34a63961189c8bafa9bcf2da3 (diff)
downloadlinux-a750b124cfd27bae1a12df22318db5a2083dfb12.tar.xz
spi: bcm2835: fallback to interrupt for polling timeouts exceeding 2 jiffies
The polling mode of the driver is designed for transfers that run less than 30us - it will only execute under those circumstances. So it should run comfortably without getting interrupted by the scheduler. But there are situations where the raspberry pi is so overloaded that it can take up to 80 jiffies until the polling thread gets rescheduled - this has been observed especially under heavy IO situations. In such a situation we now fall back to the interrupt handler and log the situation at debug level. Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions