git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56f3f55
)
SPI: spi_txx9: Fix bit rate calculation
author
Atsushi Nemoto
<anemo@mba.ocn.ne.jp>
Thu, 3 Sep 2009 13:59:01 +0000
(22:59 +0900)
committer
Ralf Baechle
<ralf@linux-mips.org>
Wed, 2 Dec 2009 23:58:32 +0000
(23:58 +0000)
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>
drivers/spi/spi_txx9.c
patch
|
blob
|
history
diff --cc
drivers/spi/spi_txx9.c
Simple merge