diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-02-28 11:39:33 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-13 10:47:05 +0100 |
commit | 09e99bca8324c3335794b86802486bb5191861d5 (patch) | |
tree | 7ec8af731667aae1757272a1ac1f14e55138e2d9 /arch/arm64/include/asm/cacheflush.h | |
parent | spi: sc18is602: Move checking chip_select for SC18IS602 to sc18is602_setup (diff) | |
download | linux-09e99bca8324c3335794b86802486bb5191861d5.tar.xz linux-09e99bca8324c3335794b86802486bb5191861d5.zip |
spi: sc18is602: Convert to let spi core validate transfer speed
Set master->max_speed_hz and master->min_speed_hz then spi core will handle
checking transfer speed. So we can remove the same checking in this driver.
This patch also remove testing if hz is 0 because spi->max_speed_hz will be
default set to master->min_speed_hz if it was not set. So the transfer speed
will never set to 0.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'arch/arm64/include/asm/cacheflush.h')
0 files changed, 0 insertions, 0 deletions