summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-falcon.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-02-10 14:51:13 +0100
committerMark Brown <broonie@linaro.org>2014-02-11 13:07:53 +0100
commit3c604de496d7568b3fddb9f2531630aa89908186 (patch)
tree144628bca4f44ff1f7b429a2195e703f16a9c63f /drivers/spi/spi-falcon.c
parentspi: tegra20-sflash: Convert to use master->max_speed_hz (diff)
downloadlinux-3c604de496d7568b3fddb9f2531630aa89908186.tar.xz
linux-3c604de496d7568b3fddb9f2531630aa89908186.zip
spi: tegra20-slink: Convert to use master->max_speed_hz
Use master->max_speed_hz instead of tspi->spi_max_frequency, so spi core will handle checking transfer speed. In additional, since commit 052eb2d49006 'spi: core: Set max_speed_hz of spi_device default to max_speed_hz of controller', spi core will also set default spi->max_speed_hz if it is not set. So remove the duplicate code in tegra_slink_setup. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-falcon.c')
0 files changed, 0 insertions, 0 deletions