aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c/algos
diff options
context:
space:
mode:
authorNathan Rossi <[email protected]>2021-08-16 05:02:28 +0000
committerMark Brown <[email protected]>2021-08-16 13:28:14 +0100
commited14666c3f877c4c2a428a92bfeebfba3a4cfe2e (patch)
treef1ce5ac66a25a9783286e97cf6c95fb2c1f50e77 /drivers/i2c/algos
parent0395be967b067d99494113d78470574e86a02ed4 (diff)
spi: orion: Prevent incorrect chip select behaviour
When clearing the chip-select mask, the controller will switch to chip selecting the native CS0 line. Because the control register chip-select mask is not updated in a single write this will cause undesirable chip-selection of CS0 even when requesting to select other native chip-select lines. This is additionally problematic as the chip-select may still be asserted. With the ARMADA 38x SoC the controller will assert both the desired native chip-select and CS0. To avoid any undesirable behaviour with the chip-select lines, update the control register with a single write. This avoids selecting CS0 and causes the (de-)assert to apply at the same time. Signed-off-by: Nathan Rossi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/i2c/algos')
0 files changed, 0 insertions, 0 deletions