mailbox: mtk-cmdq: Use mailbox rx_callback
authorChun-Kuang Hu <chunkuang.hu@kernel.org>
Sun, 14 Mar 2021 23:33:22 +0000 (07:33 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Sat, 26 Jun 2021 16:40:07 +0000 (11:40 -0500)
commit1b6b0ce2240e717bd5839cc106a0bf6cdbac9abc
tree90ce64ae4c484a56f5cfe3c91ec3f3992a6d04e3
parentb3c0d72b092e52ae7369b52fb97f63eb2ea7f16a
mailbox: mtk-cmdq: Use mailbox rx_callback

rx_callback is a standard mailbox callback mechanism and could cover the
function of proprietary cmdq_task_cb, so use the standard one instead of
the proprietary one. But the client driver has already used cmdq_task_cb,
so keep cmdq_task_cb until all client driver use rx_callback instead of
cmdq_task_cb.

Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Reviewed-by: Yongqiang Niu <yongqiang.niu@mediatek.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/mtk-cmdq-mailbox.c