From: Joachim Eastwood Date: Tue, 19 Feb 2013 21:44:57 +0000 (+0100) Subject: spi/atmel: fix speed_hz check in atmel_spi_transfer() X-Git-Tag: v3.10-rc2~35^2^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d3522604a5557e80fdcab61c54bd04eaf15b525;p=pandora-kernel.git 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 Acked-by: Nicolas Ferre Signed-off-by: Grant Likely --- Reading git-diff-tree failed