commit | 28a943c11018f7e2946f3a529de87102f268cedb | [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 | a49dc0a91456dda9baec7e4778de4d96fa9174ec [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>