[PATCH] spi: bcm2835: fix overflow in calculation of transfer time

Mark Brown broonie at kernel.org
Wed Jul 29 07:03:31 PDT 2015

On Wed, Jul 29, 2015 at 07:34:10AM +0000, kernel at martin.sperl.org wrote:
> From: Martin Sperl <kernel at martin.sperl.org>
> This resulted in the use of polling mode when other approaches
> (dma or interrupts) would have been more appropriate.

Please describe the actual issue and how it's being fixed in the commit
message.  In this case the fix appears to be converting the timeout
variable to a long long which will make things better but obviously
isn't a complete fix for overflows - presumably the ideal thing here is
to handle saturation better?
-------------- 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/20150729/34dbb8b5/attachment.sig>

More information about the linux-rpi-kernel mailing list