Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1210675

Re: [PATCH 3/9] spi: sunxi: check that transfer speed is non-zero

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 3/9] spi: sunxi: check that transfer speed is non-zero
Date 2015-08-20 20:50 +0200
Message-ID <pZD4t-4OQ-7@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

Show all headers | View raw


[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.

You should always be using the transfer speed that is defined per
transfer, the core will ensure that this is always set.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 3/9] spi: sunxi: check that transfer speed is non-zero Mark Brown <broonie@kernel.org> - 2015-08-20 20:50 +0200

csiph-web