summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/spi/imx_spi.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/spi/imx_spi.c b/drivers/spi/imx_spi.c
index 78198798a5..0827de7786 100644
--- a/drivers/spi/imx_spi.c
+++ b/drivers/spi/imx_spi.c
@@ -32,8 +32,11 @@
#include <linux/err.h>
#include <clock.h>
-/* time to wait for STAT_RR getting set */
-#define IMX_SPI_RR_TIMEOUT 10000 /* ns */
+/*
+ * time to wait for STAT_RR getting set, should allow the transfer
+ * of 24 bits at spi-max-frequency of 100kHz
+ */
+#define IMX_SPI_RR_TIMEOUT 250000 /* ns */
struct imx_spi {
struct spi_master master;