Peter Rosin 79e2472f99 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: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
2018-07-28 17:03:11 +03:00
..
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-03-14 19:13:47 +01:00
2018-06-05 11:24:55 -07:00
2017-08-28 17:11:28 +02:00
2018-06-15 18:10:01 -03:00
2011-03-31 11:26:23 -03:00
2018-05-16 07:23:35 +02:00
2016-01-22 18:04:28 -05:00
2018-05-26 09:16:44 +02:00
2018-06-12 16:19:22 -07:00
2011-01-10 08:51:44 -08:00