commit | e428a420078eac26039b53af464355332809be52 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Sun Mar 02 23:01:50 2014 +0800 |
committer | Mark Brown <broonie@linaro.org> | Mon Mar 03 10:37:46 2014 +0900 |
tree | 9ff7487ef2ff6d4209e6d27ee5e024af0ecab922 | |
parent | 80d68ca5a52176a140e1daa527d0b698feb69c83 [diff] |
spi: sh-hspi: Remove duplicate code to set default transfer speed In the implementation of __spi_validate(), spi core will use spi device's max speed as default transfer speed if it is not set for this transfer. So we can remove the same logic in hspi_hw_setup(). Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Mark Brown <broonie@linaro.org>