diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2023-09-20 10:33:01 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2023-09-22 12:41:58 +0300 |
commit | f707d6b9e7c18f669adfdb443906d46cfbaaa0c1 (patch) | |
tree | 4e2178fa1fee8204dfb7a3d94d4f268df9fc0a20 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d0d0f827e067b70c533cca98df772fc65729b522 (diff) | |
download | linux-f707d6b9e7c18f669adfdb443906d46cfbaaa0c1.tar.xz |
i2c: i801: replace acpi_lock with I2C bus lock
I2C core ensures in i2c_smbus_xfer() that the I2C bus lock is held when
calling the smbus_xfer callback. That's i801_access() in our case.
I think it's safe in general to assume that the I2C bus lock is held
when the smbus_xfer callback is called.
Therefore I see no need to define an own mutex.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions