diff options
| author | Vignesh Raghavendra <[email protected]> | 2020-11-29 12:53:05 +0530 |
|---|---|---|
| committer | Lokesh Vutla <[email protected]> | 2021-01-12 10:21:41 +0530 |
| commit | f3f83ad4caf4f4fb2394d70585a20ce56b552c5e (patch) | |
| tree | a65f08243fd14a0132289e2fed9926ce1bbecc88 /include | |
| parent | 705082d4b1a2040c9f1ff2a7d5c4f2fccafde4bc (diff) | |
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 <[email protected]>
Tested-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
