spi/atmel: fix speed_hz check in atmel_spi_transfer()
authorJoachim Eastwood <manabian@gmail.com>
Tue, 19 Feb 2013 21:44:57 +0000 (22:44 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 7 Apr 2013 09:12:19 +0000 (10:12 +0100)
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>

No differences found