
23 Dec
2020
23 Dec
'20
9:16 a.m.
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@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