commit | fe3a1ad0c60d7ac405f52b5c76ef45c22e054d0c | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Mon Feb 10 22:26:40 2014 +0800 |
committer | Mark Brown <broonie@linaro.org> | Fri Feb 14 20:26:48 2014 +0000 |
tree | 919f478c379ab0c4cc78024a2bd9cd4ac5f084ed | |
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>