summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorMartin Sperl <kernel@martin.sperl.org>2015-04-16 07:51:26 +0000
committerMark Brown <broonie@kernel.org>2015-04-16 18:57:07 +0100
commit145367baa492246cc19d7e859db642e6fed6908e (patch)
tree713217fda7f25e2cb4dfb91f4929e5ebe8663095 /drivers/pci
parent56afdb70ca9140cdcbdcf01870f3e4e2e8be17f5 (diff)
spi: bcm2835: change timeout of polling driver to 1s
The way that the timeout code is written in the polling function the timeout does also trigger when interrupted or rescheduled while in the polling loop. This patch changes the timeout from effectively 20ms (=2 jiffies) to 1 second and removes the time that the transfer really takes out of the computation, as - per design - this is <30us and the jiffie resolution is 10ms so that does not make any difference what so ever. Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions