Atsushi Nemoto dbf763a2f1 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>
2009-12-02 23:58:32 +00:00
..
2007-02-14 08:09:53 -08:00
2009-09-23 07:39:44 -07:00
2009-09-23 07:39:44 -07:00
2009-06-19 16:46:05 -07:00
2009-09-23 07:39:43 -07:00
2009-09-23 07:39:44 -07:00
2009-09-23 07:39:43 -07:00