[PATCH V2] spi: bcm2835: enabling polling mode for transfers shorter than 30us

Mark Brown broonie at kernel.org
Sat Apr 18 04:53:43 PDT 2015


On Sat, Apr 18, 2015 at 01:12:02PM +0200, Martin Sperl wrote:

> Well that is why I have implemented the 1s timeout patch,
> which you have already merged (145367baa492246). 

> If you think that timeout of 1 second is too long, then we can change
> it to something more acceptable, but it should be in the order of
> 100ms or more to avoid those “false” positives due to high cpu load
> that the original code showed.

As I've said several times now 1s seems far too long for a busy wait,
the driver should fall back to something that sleeps after an initial
busy wait (once it's clear we're over time).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-rpi-kernel/attachments/20150418/aeb4fd64/attachment.sig>


More information about the linux-rpi-kernel mailing list