commit | 884622b7609fd742422ffe3585cb3c371252aa5d | [log] [tgz] |
---|---|---|
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | Fri Aug 10 08:51:50 2012 +0000 |
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | Sat Sep 01 14:58:25 2012 +0200 |
tree | acbb26cfa8437894fba7a03ced61ef8dea2b6a92 | |
parent | 3c4ff1f8b579adf67e4b2f7f18ee9d84af8decea [diff] |
mxc_spi: Round up clock divider Since the input frequency of the API is a maximum that should not be exceeded in order for the devices to operate properly, the SPI clock divider should be rounded up, not truncated. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Stefano Babic <sbabic@denx.de> Acked-by: Stefano Babic <sbabic@denx.de>