lkml.org 
[lkml]   [2021]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] Refine mtk-cmdq-mailbox callback mechanism
Date
mtk-cmdq-mailbox use proprietary callback mechanism and proprietary
error number, but these could be replaced by standard callback
mechanism and standard error number. In addition, use cmdq_pkt as
callback data to prevent redundnat assignment.

Because client driver still use proprietary mechanism, so keep
proprietary mechanism until client driver use the standard one.

Chun-Kuang Hu (3):
mailbox: mtk-cmdq: Remove cmdq_cb_status
mailbox: mtk-cmdq: Use mailbox rx_callback
mailbox: mtk-cmdq: Add struct cmdq_pkt in struct cmdq_cb_data

drivers/mailbox/mtk-cmdq-mailbox.c | 24 +++++++++++++++---------
include/linux/mailbox/mtk-cmdq-mailbox.h | 8 ++------
2 files changed, 17 insertions(+), 15 deletions(-)

--
2.17.1

\
 
 \ /
  Last update: 2021-03-15 00:35    [W:0.121 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site