diff options
author | Peter Rosin <[email protected]> | 2018-06-20 07:17:54 +0200 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2018-07-28 17:03:11 +0300 |
commit | 79e2472f99ab457417aaad98bf83ab565fa32bd0 (patch) | |
tree | dea26930f05e65b5a53ce5ddf252537853a55ad4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1a339b658d9dbe1471f67b78237cf8fa08bbbeb5 (diff) |
tpm/tpm_i2c_infineon: switch to i2c_lock_bus(..., I2C_LOCK_SEGMENT)
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_bus with the I2C_LOCK_SEGMENT flag. If the device does not
sit behind a mux-locked mux, the two locking variants are equivalent.
Signed-off-by: Peter Rosin <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Tested-by: Alexander Steffen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions