diff options
author | Peter Rosin <peda@axentia.se> | 2020-05-25 13:43:52 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-05-25 15:25:34 +0300 |
commit | a2b02e4623fb127fa65a13e4ac5aa56e4ae16291 (patch) | |
tree | 7eac3865cd9c085b6081d51d1b391fd3d63ff0e5 /README | |
parent | b9dd3f6d417258ad0beeb292a1bc74200149f15d (diff) | |
download | linux-a2b02e4623fb127fa65a13e4ac5aa56e4ae16291.tar.xz |
spi: mux: repair mux usage
It is not valid to cache/short out selection of the mux.
mux_control_select() only locks the mux until mux_control_deselect()
is called. mux_control_deselect() may put the mux in some low power
state or some other user of the mux might select it for other purposes.
These things are probably not happening in the original setting where
this driver was developed, but it is said to be a generic SPI mux.
Also, the mux framework will short out the actual low level muxing
operation when/if that is possible.
Fixes: e9e40543ad5b ("spi: Add generic SPI multiplexer")
Signed-off-by: Peter Rosin <peda@axentia.se>
Link: https://lore.kernel.org/r/20200525104352.26807-1-peda@axentia.se
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions