diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2020-10-13 16:12:01 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2020-12-09 21:29:50 +0100 |
commit | e8a61e5a7e2abb71168092b403f8524a0af1f1d3 (patch) | |
tree | ed15370961c0ed826aebef7b4b02fda46c0fe2e5 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 04fd6f0a9e678b62831104182354e03a5c901280 (diff) |
i2c: sh_mobile: Mark adapter suspended during suspend
When a driver tries to send an I2C message while the adapter is
suspended, this typically fails with:
i2c-sh_mobile e60b0000.i2c: Transfer request timed out
Avoid accessing the adapter while it is suspended by marking it
suspended during suspend. This allows the I2C core to catch this, and
print a warning:
WARNING: CPU: 1 PID: 13 at drivers/i2c/i2c-core.h:54
__i2c_transfer+0x4a4/0x4e4
i2c i2c-6: Transfer while suspended
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions