commit | 30508e98b22a26373351f3a71b1ef70cdb5c08a4 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Jan 21 19:44:03 2016 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Jan 21 20:42:35 2016 -0700 |
tree | db57df246af2bfaec66e3d92ca62c593fade6a35 | |
parent | 50e76893a64b7656af406b94c136ed9b3c80d3b3 [diff] |
rockchip: spi: Remember the last speed to avoid re-setting it Rather than changing the clock to the same value on every transaction, remember the last value and don't adjust the clock unless it is necessary. Signed-off-by: Simon Glass <sjg@chromium.org>