diff options
author | 2023-09-20 09:29:28 +0200 | |
---|---|---|
committer | 2023-09-22 11:39:42 +0200 | |
commit | d0d0f827e067b70c533cca98df772fc65729b522 (patch) | |
tree | 32dff2679eaf88edf53f2956007e452abf696ec3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i2c: dev: make i2c_dev_class a static const structure (diff) | |
download | wireguard-linux-d0d0f827e067b70c533cca98df772fc65729b522.tar.xz wireguard-linux-d0d0f827e067b70c533cca98df772fc65729b522.zip |
i2c: i801: use i2c_mark_adapter_suspended/resumed
When entering the suspend callback, at first we should ensure that
transfers are finished and I2C core can't start further transfers.
Use i2c_mark_adapter_suspended() for this purpose, and complement it
with a call to i2c_mark_adapter_resumed() in the resume path.
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions