Michal Suchanek
719bd65420
spi: sunxi: fix transfer timeout
...
The trasfer timeout is fixed at 1000 ms. Reading a 4Mbyte flash over
1MHz SPI bus takes way longer than that. Calculate the timeout from the
actual time the transfer is supposed to take and multiply by 2 for good
measure.
Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
2016-06-14 10:05:18 +01:00
..
2016-05-23 12:16:55 +01:00
2016-04-18 17:52:46 +01:00
2015-09-30 20:33:29 +01:00
2016-01-28 23:25:54 +01:00
2015-09-16 20:54:54 +01:00
2016-04-26 11:56:09 +01:00
2016-04-18 13:53:46 +01:00
2016-01-11 16:48:30 +00:00
2016-02-15 20:43:39 +00:00
2016-03-11 14:28:25 +07:00
2015-09-16 20:54:32 +01:00
2015-10-05 14:55:56 +01:00
2015-12-02 19:38:16 +00:00
2016-04-18 10:58:49 +01:00
2015-10-12 17:02:08 +01:00
2016-04-29 18:15:15 +01:00
2016-04-26 11:56:09 +01:00
2016-02-05 17:41:49 +00:00
2016-02-05 17:41:49 +00:00
2016-05-11 18:26:19 +01:00
2015-12-23 12:12:09 +00:00
2015-11-30 11:34:50 +00:00
2016-05-24 16:54:50 +01:00
2015-12-22 17:12:56 -06:00
2016-05-23 12:16:48 +01:00
2016-03-28 19:41:18 +01:00
2016-03-17 11:44:34 +00:00
2015-12-07 20:09:09 +00:00
2016-01-15 18:13:53 +00:00
2016-02-26 11:06:38 +09:00
2015-09-19 07:55:25 -07:00
2015-09-17 12:33:31 +01:00
2016-01-11 16:48:33 +00:00
2016-03-21 13:40:16 +00:00
2016-04-29 18:15:48 +01:00
2015-09-17 12:34:20 +01:00
2015-09-17 12:33:58 +01:00
2016-05-06 18:18:27 +01:00
2016-04-29 12:34:20 +01:00
2016-02-17 12:08:55 +00:00
2015-09-17 12:13:40 +01:00
2016-03-28 10:42:00 +01:00
2016-05-24 11:12:32 -07:00
2016-05-23 12:16:55 +01:00
2016-03-28 10:42:00 +01:00
2016-05-02 15:27:28 +01:00
2016-05-04 14:41:56 +01:00
2015-09-17 12:13:40 +01:00
2015-12-30 16:48:58 +00:00
2016-04-29 18:16:25 +01:00
2016-06-14 10:05:18 +01:00
2016-06-14 10:05:18 +01:00
2015-12-13 20:10:15 +00:00
2016-04-13 08:12:41 +01:00
2015-10-28 10:30:17 +09:00
2015-10-29 09:03:42 +09:00
2015-09-22 09:30:10 -07:00
2016-05-04 14:21:03 +01:00
2016-05-23 12:16:45 +01:00
2016-01-11 16:48:35 +00:00