diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-02-10 17:49:49 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-11 16:07:50 +0400 |
commit | 44830b4c2f978a1bc667d1557d26277a7e593cf5 (patch) | |
tree | df3f0a98769f815e38b1934f7727bddbc03d7e9a /drivers/spi/spi-tegra20-slink.c | |
parent | 383840d92f8e5e4c3ab4090e5d8f2ca5cf893802 (diff) | |
download | linux-44830b4c2f978a1bc667d1557d26277a7e593cf5.tar.xz |
spi: tegra20-sflash: 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 tegra_sflash_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-slink.c')
0 files changed, 0 insertions, 0 deletions