[PATCH] spi: omap3_spi: Fix speed and mode selection

Lokesh Vutla lokeshvutla at ti.com
Wed Dec 23 09:16:13 CET 2020



On 29/11/20 12:53 pm, Vignesh Raghavendra wrote:
> McSPI IP provides per CS specific speed and mode selection. Therefore it
> is possible to apply these settings only after CS is known. But
> set_speed and set_mode can be called without bus being claimed, this
> would lead driver to set up wrong CS (or previously used CS).
> 
> Fix this by apply set_speed and set_mode only if bus is already claimed.
> 
> Signed-off-by: Vignesh Raghavendra <vigneshr at ti.com>
> ---
>  drivers/spi/omap3_spi.c | 17 ++++++++++++++---
>  1 file changed, 14 insertions(+), 3 deletions(-)
> 


Applied to u-boot-ti/for-next

Thanks and regards,
Lokesh



More information about the U-Boot mailing list