diff options
| author | Otto Pflüger <otto.pflueger@abscue.de> | 2026-01-10 16:43:36 +0100 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2026-03-04 07:21:21 -0500 |
| commit | 8d6bc7da802118f420df41d963a48d3a82216fee (patch) | |
| tree | 0f60385c4357139f35615bfed690a82f132aba14 /drivers/clk/microchip | |
| parent | 22cfa9e10cfa70438b9e0375e2f0b2e99a2b3c6f (diff) | |
| download | linux-8d6bc7da802118f420df41d963a48d3a82216fee.tar.gz linux-8d6bc7da802118f420df41d963a48d3a82216fee.tar.bz2 linux-8d6bc7da802118f420df41d963a48d3a82216fee.zip | |
mailbox: sprd: clear delivery flag before handling TX done
[ Upstream commit c77661d60d4223bf2ff10d409beb0c3b2021183b ]
If there are any pending messages in the mailbox queue, they are sent
as soon as a TX done event arrives from the driver. This may trigger a
new delivery interrupt while the previous one is still being handled.
If the delivery status is cleared after this, the interrupt is lost.
To prevent this from happening, clear the delivery status immediately
after checking it and before any new messages are sent.
Signed-off-by: Otto Pflüger <otto.pflueger@abscue.de>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/clk/microchip')
0 files changed, 0 insertions, 0 deletions
