mailbox: ti-msgmgr: Refactor message read during interrupt handler
authorDave Gerlach <d-gerlach@ti.com>
Thu, 10 Feb 2022 04:16:30 +0000 (22:16 -0600)
committerJassi Brar <jaswinder.singh@linaro.org>
Sun, 13 Mar 2022 01:33:23 +0000 (19:33 -0600)
commitcb62b8f7346338eeefa6d46160200879dc345246
tree7967392eb6f47de5c0f8e57f66e140bef01e0f15
parent0184cc2026a0176dc24b63f62ca290bf155420b9
mailbox: ti-msgmgr: Refactor message read during interrupt handler

Refactor the portion of code that actually reads received messages from
a queue into its own function, ti_msgmgr_queue_rx_data, that is called
by the interrupt handler instead of reading directly from the handler.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/ti-msgmgr.c