commit | 0c2a2ae32793e3500a15a449612485f5d17dd431 | [log] [tgz] |
---|---|---|
author | Thomas Koeller <thomas.koeller@baslerweb.com> | Mon Apr 26 09:01:45 2010 +0000 |
committer | Grant Likely <grant.likely@secretlab.ca> | Tue May 25 00:23:54 2010 -0600 |
tree | 36e31ce3b9f789d6ccc5c273d24a2f149f0e6d2b | |
parent | 41c4221ca6b9db8ea63d2c2323c0e7a8865eba6e [diff] |
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>