summaryrefslogtreecommitdiffstats
path: root/init/do_mounts.h
diff options
context:
space:
mode:
authorMichal Suchanek <hramrach@gmail.com>2016-06-13 19:46:49 +0200
committerMark Brown <broonie@kernel.org>2016-06-14 11:05:18 +0200
commit719bd6542044efd9b338a53dba1bef45f40ca169 (patch)
tree837acfe993c8949db1570b977c6dd5d2a3cb37fb /init/do_mounts.h
parentspi: sun4i: fix FIFO limit (diff)
downloadlinux-719bd6542044efd9b338a53dba1bef45f40ca169.tar.xz
linux-719bd6542044efd9b338a53dba1bef45f40ca169.zip
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
Diffstat (limited to 'init/do_mounts.h')
0 files changed, 0 insertions, 0 deletions