summaryrefslogtreecommitdiff
path: root/include/linux/mailbox/mtk-cmdq-mailbox.h
diff options
context:
space:
mode:
authorDennis YC Hsieh <dennis-yc.hsieh@mediatek.com>2020-07-07 23:45:13 +0800
committerMatthias Brugger <matthias.bgg@gmail.com>2020-09-25 17:27:39 +0200
commit23c22299cd290409c6b78f57c42b64f8dfb6dd92 (patch)
tree755d2e731f5cdf86147e3ab68057b7d478830de2 /include/linux/mailbox/mtk-cmdq-mailbox.h
parent946f1792d3d7942acfbc6afa9a733f608f4622d6 (diff)
soc: mediatek: cmdq: add clear option in cmdq_pkt_wfe api
Add clear parameter to let client decide if event should be clear to 0 after GCE receive it. Signed-off-by: Dennis YC Hsieh <dennis-yc.hsieh@mediatek.com> Acked-by: Chun-Kuang Hu <chunkuang.hu@kernel.org> Link: https://lore.kernel.org/r/1594136714-11650-9-git-send-email-dennis-yc.hsieh@mediatek.com [mb: fix commit message] Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'include/linux/mailbox/mtk-cmdq-mailbox.h')
-rw-r--r--include/linux/mailbox/mtk-cmdq-mailbox.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/mailbox/mtk-cmdq-mailbox.h b/include/linux/mailbox/mtk-cmdq-mailbox.h
index efbd8a9eb2d1..d5a983d65f05 100644
--- a/include/linux/mailbox/mtk-cmdq-mailbox.h
+++ b/include/linux/mailbox/mtk-cmdq-mailbox.h
@@ -28,8 +28,7 @@
* bit 16-27: update value
* bit 31: 1 - update, 0 - no update
*/
-#define CMDQ_WFE_OPTION (CMDQ_WFE_UPDATE | CMDQ_WFE_WAIT | \
- CMDQ_WFE_WAIT_VALUE)
+#define CMDQ_WFE_OPTION (CMDQ_WFE_WAIT | CMDQ_WFE_WAIT_VALUE)
/** cmdq event maximum */
#define CMDQ_MAX_EVENT 0x3ff