Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1210565
| From | Maxime Ripard <maxime.ripard@free-electrons.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 3/9] spi: sunxi: check that transfer speed is non-zero |
| Date | 2015-08-20 16:50 +0200 |
| Message-ID | <pZzkh-7Tp-87@gated-at.bofh.it> (permalink) |
| References | <pZz0R-7wx-11@gated-at.bofh.it> <pZzkh-7Tp-89@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Thu, Aug 20, 2015 at 02:19:46PM -0000, Michal Suchanek wrote: > When the maximum transfer speed is not set for a SPI slave the value > remains 0 and the code in sunxi SPI divides by it. Use an arbitrary > speed instead in that case. > > Signed-off-by: Michal Suchanek <hramrach@gmail.com> spi->max_speed_hz is set using the spi-max-frequency property, and spi->will error out if that property isn't set. What am I missing? Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH 3/9] spi: sunxi: check that transfer speed is non-zero Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-08-20 16:50 +0200
Re: [PATCH 3/9] spi: sunxi: check that transfer speed is non-zero Michal Suchanek <hramrach@gmail.com> - 2015-08-20 21:50 +0200
Re: [PATCH 3/9] spi: sunxi: check that transfer speed is non-zero Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-08-20 23:30 +0200
csiph-web