commit | b46cb631ec9d67d6eef2c233333302804a1603c9 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Feb 17 15:29:35 2015 -0700 |
committer | Simon Glass <sjg@chromium.org> | Tue May 05 20:58:18 2015 -0600 |
tree | 0e48144601cecacb6f58b2e32cf516c7281204f5 | |
parent | 6901f43e7a98739a2b42357397caeef00df85e41 [diff] |
dm: spi: Avoid setting the speed with every transfer Only set the speed if it has changed from last time. Since the speed will be 0 when the device is probed it will always be changed on the first transfer after the device is probed. Signed-off-by: Simon Glass <sjg@chromium.org>