spi: dw: round up result of calculation for clock divider
authorMatthias Seidel <kernel@mseidel.net>
Wed, 7 Sep 2016 15:45:30 +0000 (17:45 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 12 Sep 2016 18:59:08 +0000 (19:59 +0100)
commit3aef463222eaf1ca505629e93a0b64e4040a4472
treec133a67256a92cd432ad53fd60387220c4a828ca
parent13b10301b858e355613bfc6dc297580bf34d3fb5
spi: dw: round up result of calculation for clock divider

Avoid ending up with a higher frequency than requested

Signed-off-by: Matthias Seidel <kernel@mseidel.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw.c