Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1408953 > unrolled thread
| Started by | Maxime Ripard <maxime.ripard@free-electrons.com> |
|---|---|
| First post | 2016-05-30 11:50 +0200 |
| Last post | 2016-05-30 11:50 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH 1/5] spi: sunxi: fix transfer timeout Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-05-30 11:50 +0200
| From | Maxime Ripard <maxime.ripard@free-electrons.com> |
|---|---|
| Date | 2016-05-30 11:50 +0200 |
| Subject | Re: [PATCH 1/5] spi: sunxi: fix transfer timeout |
| Message-ID | <rErZE-2oF-23@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
On Thu, May 26, 2016 at 07:25:23PM -0000, Michal Suchanek wrote: > 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> > --- > > v2: > - fix build error > - use unsigned instead of int in max_t And this generates warnings in checkpatch. Please make sure that you run it before submitting any patches. Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Back to top | Article view | linux.kernel
csiph-web