diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-02-10 22:26:40 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-14 20:26:48 +0000 |
commit | fe3a1ad0c60d7ac405f52b5c76ef45c22e054d0c (patch) | |
tree | 919f478c379ab0c4cc78024a2bd9cd4ac5f084ed /mm/init-mm.c | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) |
spi: topcliff-pch: Convert to use master->max_speed_hz
Set "master->max_speed_hz = PCH_MAX_BAUDRATE" then we can remove pch_spi_setup.
In additional, pspi->max_speed_hz will never be 0 because it's default value
will be set to master->max_speed_hz.
Also remove list_empty checking in pch_spi_transfer() because the checking is
done by spi core.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'mm/init-mm.c')
0 files changed, 0 insertions, 0 deletions