]> 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)
commit30fa69247f8b6ad563f66eea9fb2b0428c73285a
tree79277de1ab4665a190cf0d97ddf31a844c5b9736
parent853a9bea4efd7ee6933435931369af22ce9f951d
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