diff options
author | Wolfram Sang <[email protected]> | 2014-02-13 21:36:29 +0100 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2014-02-15 15:42:31 +0100 |
commit | 79970db213344b4a4034645db5ebfc31571f3fa3 (patch) | |
tree | 309b4ca8949adaeb4f31e5cfabbc51a30a772c04 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | b28a960c42fcd9cfc987441fa6d1c1a471f0f9ed (diff) |
i2c: mv64xxx: refactor message start to ensure proper initialization
Because the offload mechanism can fall back to a standard transfer,
having two seperate initialization states is unfortunate. Let's just
have one state which does things consistently. This fixes a bug where
some preparation was missing when the fallback happened. And it makes
the code much easier to follow. To implement this, we put the check
if offload is possible at the top of the offload setup function.
Signed-off-by: Wolfram Sang <[email protected]>
Tested-by: Gregory CLEMENT <[email protected]>
Cc: [email protected] # v3.12+
Fixes: 930ab3d403ae (i2c: mv64xxx: Add I2C Transaction Generator support)
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions