commit | 09e99bca8324c3335794b86802486bb5191861d5 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Fri Feb 28 18:39:33 2014 +0800 |
committer | Mark Brown <broonie@linaro.org> | Thu Mar 13 09:47:05 2014 +0000 |
tree | 7ec8af731667aae1757272a1ac1f14e55138e2d9 | |
parent | c5c67e31bc1b96658169b5b553b9be42e2ca6368 [diff] |
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>