diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-02-19 10:34:47 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-03 04:59:45 +0100 |
commit | 7984b5ca5c6245e332adcb8a8c2aefb2732b40bf (patch) | |
tree | 294574391f274f4dd8f2fefb8f7cf77301ccacd6 /kernel/power/console.c | |
parent | spi: octeon: Remove struct octeon_spi_setup usage (diff) | |
download | linux-7984b5ca5c6245e332adcb8a8c2aefb2732b40bf.tar.xz linux-7984b5ca5c6245e332adcb8a8c2aefb2732b40bf.zip |
spi: octeon: Convert to let spi core validate transfer speed
Set master->max_speed_hz then spi core will handle checking transfer speed.
The behavior is different from current code when the speed_hz is greater than
the maximum transfer speed supported by the controller.
Unless there is other good reason, I think we had better make the behavior
consistent with what spi core does.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'kernel/power/console.c')
0 files changed, 0 insertions, 0 deletions