diff options
author | Joachim Eastwood <manabian@gmail.com> | 2013-02-19 22:44:57 +0100 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2013-04-07 10:12:19 +0100 |
commit | 3d3522604a5557e80fdcab61c54bd04eaf15b525 (patch) | |
tree | 467281fc26111ecc33caa901db3b45c971881f39 /drivers/spi/spi.c | |
parent | fe6969094214350e586d56fbfa3ef97cdd74b270 (diff) | |
download | linux-3d3522604a5557e80fdcab61c54bd04eaf15b525.tar.gz |
spi/atmel: fix speed_hz check in atmel_spi_transfer()
atmel_spi_transfer() would check speed_hz and fail if
the speed was changed in the transfer. After commit
"spi: make sure all transfer has proper speed set"
this would happen on all transfers.
Change speed_hz check to only fail if a lower speed
than max is requested.
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/spi.c')
0 files changed, 0 insertions, 0 deletions