diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-03-20 15:59:06 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-25 19:05:17 +0100 |
commit | 8023d384ff5c55a431c1a9a84cd76648d43ba7d8 (patch) | |
tree | 9dc68bbde8c8908ebdb22bc969da5a07abf10e4a /drivers/spi/spi-davinci.c | |
parent | spi: coldfire-qspi: Prevent NULL pointer dereference (diff) | |
download | linux-8023d384ff5c55a431c1a9a84cd76648d43ba7d8.tar.xz linux-8023d384ff5c55a431c1a9a84cd76648d43ba7d8.zip |
spi: coldfire-qspi: Simplify the code to set register bits for transfer speed
spi core will use spi->max_speed_hz as transfer speed if the transfer speed was
not set. So we don't need to test t->speed_hz in mcfqspi_transfer_one().
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-davinci.c')
0 files changed, 0 insertions, 0 deletions