Merge remote-tracking branch 'spi/topic/core' into spi-next
[sfrench/cifs-2.6.git] / drivers / spi / spi.c
index 90b5b2efafbf45c2435af2771c4842a37786eee7..b4a8bb7759b2cdc7cf2a4e9688cda03523f431a9 100644 (file)
@@ -1015,7 +1015,7 @@ static int spi_transfer_one_message(struct spi_master *master,
                                ret = 0;
                                ms = 8LL * 1000LL * xfer->len;
                                do_div(ms, xfer->speed_hz);
                                ret = 0;
                                ms = 8LL * 1000LL * xfer->len;
                                do_div(ms, xfer->speed_hz);
-                               ms += ms + 100; /* some tolerance */
+                               ms += ms + 200; /* some tolerance */
 
                                if (ms > UINT_MAX)
                                        ms = UINT_MAX;
 
                                if (ms > UINT_MAX)
                                        ms = UINT_MAX;