summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2023-09-20 10:29:28 +0300
committerWolfram Sang <wsa@kernel.org>2023-09-22 12:39:42 +0300
commitd0d0f827e067b70c533cca98df772fc65729b522 (patch)
tree32dff2679eaf88edf53f2956007e452abf696ec3 /tools/perf/scripts/python/export-to-sqlite.py
parentcdb55bdb50eb1a458ad8f34550304296c39690f3 (diff)
downloadlinux-d0d0f827e067b70c533cca98df772fc65729b522.tar.xz
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions