diff options
author | Wolfram Sang <[email protected]> | 2018-08-24 16:52:44 +0200 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2018-08-30 23:13:15 +0200 |
commit | 82fe39a6bc7b866fc3ffd838e3c5a4cadb328b04 (patch) | |
tree | de2bb335aac161972201349caa6c8be9a15227e3 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 1204d12a494cf5dff497859a5febf2ae30a28970 (diff) |
i2c: refactor function to release a DMA safe buffer
a) rename to 'put' instead of 'release' to match 'get' when obtaining
the buffer
b) change the argument order to have the buffer as first argument
c) add a new argument telling the function if the message was
transferred. This allows the function to be used also in cases
where setting up DMA failed, so the buffer needs to be freed without
syncing to the message buffer.
Also convert the only user.
Signed-off-by: Wolfram Sang <[email protected]>
Reviewed-by: Niklas Söderlund <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions