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>
Loading
Please register or sign in to comment