Thread (20 messages) 20 messages, 4 authors, 2018-06-19

Re: [PATCH 02/11] tpm/tpm_i2c_infineon: switch to i2c_lock_segment

From: Jarkko Sakkinen <hidden>
Date: 2018-06-19 12:56:50
Also in: linux-arm-kernel, linux-i2c, linux-iio, linux-integrity, linux-media, linux-samsung-soc, linux-tegra, lkml

On Fri, Jun 15, 2018 at 12:14:57PM +0200, Peter Rosin wrote:
Locking the root adapter for __i2c_transfer will deadlock if the
device sits behind a mux-locked I2C mux. Switch to the finer-grained
i2c_lock_segment. If the device does not sit behind a mux-locked mux,
the two locking variants are equivalent.

Signed-off-by: Peter Rosin <redacted>
Can you quickly explain (or give a reference) the difference with these
functions? Not an expert in this area. Thanks.

/Jarkko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help