diff options
author | Peter Rosin <peda@axentia.se> | 2018-06-20 07:17:54 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-07-13 00:08:14 +0200 |
commit | bb853aac2c478ce78116128263801189408ad2a8 (patch) | |
tree | 93dc4b5fd19f8d573ab801441ec23cff810bd508 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 021c91791a5e7e85c567452f1be3e4c2c6cb6063 (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 <peda@axentia.se>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Alexander Steffen <Alexander.Steffen@infineon.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions