summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-03-20 15:59:06 +0100
committerMark Brown <broonie@linaro.org>2014-03-25 19:05:17 +0100
commit8023d384ff5c55a431c1a9a84cd76648d43ba7d8 (patch)
tree9dc68bbde8c8908ebdb22bc969da5a07abf10e4a /arch/arm/mach-pxa
parentspi: coldfire-qspi: Prevent NULL pointer dereference (diff)
downloadlinux-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 'arch/arm/mach-pxa')
0 files changed, 0 insertions, 0 deletions