commit | dbf763a2f1c117cfe45bbbd2c874a150f0e0900b | [log] [tgz] |
---|---|---|
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | Thu Sep 03 22:59:01 2009 +0900 |
committer | Ralf Baechle <ralf@linux-mips.org> | Wed Dec 02 23:58:32 2009 +0000 |
tree | 175d8b9c1848a0923150ef1bc4ef003a9a032d2c | |
parent | 56f3f55cf9b604b924353ab6fcdac5fee5637ae3 [diff] |
SPI: spi_txx9: Fix bit rate calculation TXx9 SPI bit rate is calculated by: fBR = (spi-baseclk) / (n + 1) Fix calculation of min_speed_hz, max_speed_hz and n. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>