2015-10-26 09:01:05 +00:00
|
|
|
From 5b546cecc9b35f45c752c063d43c24dbfcc7328d Mon Sep 17 00:00:00 2001
|
2015-07-17 12:48:39 +00:00
|
|
|
From: Phil Elwell <phil@raspberrypi.org>
|
|
|
|
Date: Tue, 30 Jun 2015 10:33:52 +0100
|
2015-10-26 09:01:05 +00:00
|
|
|
Subject: [PATCH 094/203] spi-bcm2708: Increase timeout from 150ms to 1s
|
2015-07-17 12:48:39 +00:00
|
|
|
|
|
|
|
See: https://github.com/raspberrypi/linux/issues/260
|
|
|
|
---
|
|
|
|
drivers/spi/spi-bcm2708.c | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
--- a/drivers/spi/spi-bcm2708.c
|
|
|
|
+++ b/drivers/spi/spi-bcm2708.c
|
|
|
|
@@ -70,9 +70,9 @@
|
|
|
|
#define SPI_CS_CS_10 0x00000002
|
|
|
|
#define SPI_CS_CS_01 0x00000001
|
|
|
|
|
|
|
|
-#define SPI_TIMEOUT_MS 150
|
|
|
|
+#define SPI_TIMEOUT_MS 1000
|
|
|
|
|
|
|
|
-#define DRV_NAME "bcm2708_spi"
|
|
|
|
+#define DRV_NAME "bcm2708_spi"
|
|
|
|
|
|
|
|
struct bcm2708_spi {
|
|
|
|
spinlock_t lock;
|