[U-Boot] [PATCH 01/20] dm: spi: Avoid setting the speed with every transfer

Simon Glass sjg at chromium.org
Sat May 2 22:58:51 CEST 2015


On 17 February 2015 at 15:29, Simon Glass <sjg at chromium.org> wrote:
>
> 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 at chromium.org>
> ---
>
>  drivers/spi/spi-uclass.c | 9 ++++++---
>  include/spi.h            | 3 +++
>  2 files changed, 9 insertions(+), 3 deletions(-)
>

Applied to u-boot-dm.


More information about the U-Boot mailing list