diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-02-10 14:48:16 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-11 13:07:34 +0100 |
commit | 383840d92f8e5e4c3ab4090e5d8f2ca5cf893802 (patch) | |
tree | 7cdc19b6e16f532d841bfac2d1575b52fee4f244 /drivers/spi/spi-tegra20-sflash.c | |
parent | spi: core: Set max_speed_hz of spi_device default to max_speed_hz of controller (diff) | |
download | linux-383840d92f8e5e4c3ab4090e5d8f2ca5cf893802.tar.xz linux-383840d92f8e5e4c3ab4090e5d8f2ca5cf893802.zip |
spi: tegra114: 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_spi_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-tegra20-sflash.c')
0 files changed, 0 insertions, 0 deletions