spi: atmel: add support for changing message transfer speed
authorRichard Genoud <richard.genoud@gmail.com>
Thu, 7 Nov 2013 09:34:06 +0000 (10:34 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 8 Jan 2014 13:00:24 +0000 (13:00 +0000)
commitd3b72c7e6bf33185a5de1db2164ff237759c554c
tree3424f0cf9ddffe2a236bb1da8a4182e990fc7013
parent9f87d6f26b2fcedfc3d1ec6c65ce568b21546ee2
spi: atmel: add support for changing message transfer speed

The only speed available was max_speed (the maximum speed declared for a
device).
This patch adds the support for spi_tranfer->speed_hz parameter.
We can now set a different speed for each spi message.

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-atmel.c