[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180516113642.28136-4-srinivas.kandagatla@linaro.org>
Date: Wed, 16 May 2018 12:36:38 +0100
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To: gregkh@...uxfoundation.org
Cc: linux-kernel@...r.kernel.org, alsa-devel@...a-project.org,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
Subject: [PATCH 3/7] slimbus: core: add need_tid flag to slim_msg_txn
Add need_tid flag to txn, this flag can be set before start of transcation.
Having this flag would avoid calling slim_tid_txn() multiple times on the
same txn. Also it is handy for controller drivers too.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
---
drivers/slimbus/slimbus.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/slimbus/slimbus.h b/drivers/slimbus/slimbus.h
index 79f8e05d92dd..c0450f469e07 100644
--- a/drivers/slimbus/slimbus.h
+++ b/drivers/slimbus/slimbus.h
@@ -113,6 +113,7 @@ struct slim_msg_txn {
u8 la;
struct slim_val_inf *msg;
struct completion *comp;
+ bool need_tid;
};
/* Frequently used message transaction structures */
--
2.16.2
Powered by blists - more mailing lists