Re: [PATCH] spi: mux: repair mux usage

2020-05-25 Thread Chris Packham
On 25/05/20 10:43 pm, Peter Rosin wrote: > 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 f

Re: [PATCH] spi: mux: repair mux usage

2020-05-25 Thread Mark Brown
On Mon, 25 May 2020 12:43:52 +0200, Peter Rosin wrote: > 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 mig

[PATCH] spi: mux: repair mux usage

2020-05-25 Thread Peter Rosin
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 ha