diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2022-05-20 12:33:25 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2022-05-21 08:37:01 +0200 |
commit | 238904dd646c60017d75144760510454062bcc8a (patch) | |
tree | 06aa9d2364b975b89b6cde646be06ca74dc32914 /tools/perf/scripts/python/stackcollapse.py | |
parent | a0fb48c9bd7e99c1cad6a5d592c0686fbe0d1803 (diff) |
i2c: rcar: refactor handling of first message
After moving ICMSR handling to interrupt handlers previously to fix a
race condition, we can now also move ICMSR handling for the first
message out of the function to prepare a message. By introducing a
seperate function to initialize the first message, we can not only
remove some code duplication but the remaining code is also easier to
follow. The function to prepare a message is much simpler without ICMSR
handling.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions