Skip to content
Commit 4a3f7691 authored by Ahbong Chang's avatar Ahbong Chang Committed by Wolfram Sang
Browse files

i2c: fix parameter of trace_i2c_result



According to the event i2c_result defined in include/trace/events/i2c.h,
the second parameter should be the number of messages instead of the
ended loop index. The value of ended loop index is the same as ret.

Signed-off-by: default avatarAhbong Chang <cwahbong@google.com>
Reviewed-by: default avatarTodd Poynor <toddpoynor@google.com>
Reviewed-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent d9a22d71
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment