diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-03-20 22:59:06 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-25 18:05:17 +0000 |
commit | 8023d384ff5c55a431c1a9a84cd76648d43ba7d8 (patch) | |
tree | 9dc68bbde8c8908ebdb22bc969da5a07abf10e4a /drivers/spi/spi-mpc52xx.c | |
parent | 2271cf124a2763b7252887814a7fc8a844767e8f (diff) |
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-mpc52xx.c')
0 files changed, 0 insertions, 0 deletions