1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-08 05:49:18 +01:00
Files
u-boot-megous/drivers
Vignesh Raghavendra f3f83ad4ca spi: omap3_spi: Fix speed and mode selection
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>
Tested-by: Miquel Raynal <miquel.raynal@bootlin.com>
2021-01-12 10:21:41 +05:30
..
2021-01-05 16:20:26 -05:00
2020-12-18 20:32:21 -07:00
2020-11-06 10:18:20 +08:00
2020-11-06 10:18:20 +08:00