spi: sun4i: allow transfers to set transmission speed
authorMarcus Weseloh <mweseloh42@gmail.com>
Sun, 8 Nov 2015 11:03:23 +0000 (12:03 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 18 Nov 2015 18:34:56 +0000 (18:34 +0000)
commit47284e3e0f3c427c93f8583549b6c938e8a18015
tree887e031311e8c5f48cc785f9c1104a68cce6a496
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
spi: sun4i: allow transfers to set transmission speed

Allow transfers to set the transmission speed rather than using the
device max_speed_hz value. The SPI core makes sure that the speed_hz
value is always set on the transfer.

Signed-off-by: Marcus Weseloh <mweseloh42@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-sun4i.c
drivers/spi/spi-sun6i.c