Re: [PATCH] spi: rspi: Round up division to avoid slave overclocking

From: Mark Brown
Date: Mon May 26 2014 - 09:31:20 EST


On Thu, May 22, 2014 at 08:07:35PM +0200, Geert Uytterhoeven wrote:
> The calculation of the bit rate divider used a standard C division, which
> rounds down the quotient. This may lead to a higher bitrate than requested.
> Round up to avoid this.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature