]> git.baikalelectronics.ru Git - kernel.git/commit
soc: mediatek: cmdq: Use mailbox rx_callback instead of cmdq_task_cb
authorChun-Kuang Hu <chunkuang.hu@kernel.org>
Sat, 16 Apr 2022 09:54:28 +0000 (17:54 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Wed, 20 Apr 2022 12:14:59 +0000 (14:14 +0200)
commitf5af7a5fa9034cab13613c741cbd7d4736df09fd
treeb14804fc777047582adc809b69eb2d31f9f5d24f
parent9df0ca681db84a4e0488c53bc40713aec4e85e1d
soc: mediatek: cmdq: Use mailbox rx_callback instead of cmdq_task_cb

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. Client has changed to use the standard callback
machanism and sync dma buffer in client driver, so remove the proprietary
callback in cmdq helper.

Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Reviewed-by: jason-jh.lin <jason-jh.lin@mediatek.com>
Tested-by: jason-jh.lin <jason-jh.lin@mediatek.com>
Link: https://lore.kernel.org/r/1650102868-26219-1-git-send-email-chunkuang.hu@kernel.org
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-cmdq-helper.c
include/linux/soc/mediatek/mtk-cmdq.h