]> git.baikalelectronics.ru Git - kernel.git/commit
mailbox: mediatek: cmdq: clear task in channel before shutdown
authorDennis YC Hsieh <dennis-yc.hsieh@mediatek.com>
Sun, 5 Jul 2020 06:37:16 +0000 (14:37 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Tue, 4 Aug 2020 04:56:38 +0000 (23:56 -0500)
commit9bf2b033d5ade34668c8f040d24063d91df72411
tree79277de1ab4665a190cf0d97ddf31a844c5b9736
parent3d98081e3bac41dbf2141f0d3da7c28bf2b78a5d
mailbox: mediatek: cmdq: clear task in channel before shutdown

Do success callback in channel when shutdown. For those task not finish,
callback with error code thus client has chance to cleanup or reset.

Signed-off-by: Dennis YC Hsieh <dennis-yc.hsieh@mediatek.com>
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Reviewed-by: Bibby Hsieh <bibby.hsieh@mediatek.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/mtk-cmdq-mailbox.c