diff options
| author | Atsushi Nemoto <[email protected]> | 2009-09-03 13:59:01 +0000 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2009-12-02 23:58:32 +0000 |
| commit | dbf763a2f1c117cfe45bbbd2c874a150f0e0900b (patch) | |
| tree | 175d8b9c1848a0923150ef1bc4ef003a9a032d2c /lib/debugobjects.c | |
| parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sam... (diff) | |
| download | kernel-dbf763a2f1c117cfe45bbbd2c874a150f0e0900b.tar.gz kernel-dbf763a2f1c117cfe45bbbd2c874a150f0e0900b.zip | |
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 <[email protected]>
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
