summaryrefslogtreecommitdiff
path: root/drivers/core/root.c
diff options
context:
space:
mode:
authorVignesh Raghavendra <vigneshr@ti.com>2020-11-29 12:53:05 +0530
committerLokesh Vutla <lokeshvutla@ti.com>2021-01-12 10:21:41 +0530
commitf3f83ad4caf4f4fb2394d70585a20ce56b552c5e (patch)
treea65f08243fd14a0132289e2fed9926ce1bbecc88 /drivers/core/root.c
parent705082d4b1a2040c9f1ff2a7d5c4f2fccafde4bc (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 <vigneshr@ti.com> Tested-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/core/root.c')
0 files changed, 0 insertions, 0 deletions