diff options
author | Thomas Koeller <thomas.koeller@baslerweb.com> | 2010-04-26 11:01:45 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-05-25 08:23:54 +0200 |
commit | 0c2a2ae32793e3500a15a449612485f5d17dd431 (patch) | |
tree | 36e31ce3b9f789d6ccc5c273d24a2f149f0e6d2b /arch/sparc/kernel | |
parent | spi: move bitbang txrx utility functions to private header (diff) | |
download | linux-0c2a2ae32793e3500a15a449612485f5d17dd431.tar.xz linux-0c2a2ae32793e3500a15a449612485f5d17dd431.zip |
spi/davinci: Fix clock prescale factor computation
Computation of the clock prescaler value returned bogus results if
the requested SPI clock was impossible to set. It now sets either
the maximum or minimum clock frequency, as appropriate.
Signed-off-by: Thomas Koeller <thomas.koeller@baslerweb.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/sparc/kernel')
0 files changed, 0 insertions, 0 deletions