diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2018-06-19 17:12:59 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-07 17:24:32 +0200 |
commit | d3062a21093093bc77a8ebf1b555e380993993e7 (patch) | |
tree | 0b8b49c88c015368df96ff1158b45d8a85eef458 /lib/lockref.c | |
parent | db455d66b9900a8a81fe474f11c78c8c8a95eefa (diff) | |
download | linux-d3062a21093093bc77a8ebf1b555e380993993e7.tar.bz2 |
slimbus: messaging: add slim_alloc/free_txn_tid()
This patch adds slim_alloc_txn_tid() and slim_free_txn_tid() api
to allow controllers like ngd to allocate tids for user specific
commands. This also cleans up the existing code to use single place
for tid allocations and free.
This patch also make the tid allocation cyclic one, its very useful
to track the transactions back during debug.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions