mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
irqchip/qcom-mpm: Add missing mailbox TX done acknowledgment
The mbox_client for qcom-mpm sends NULL doorbell messages via
mbox_send_message() but never signals TX completion.
Set knows_txdone=true and call mbox_client_txdone() after a successful
send, matching the pattern used by other Qualcomm mailbox clients (smp2p,
smsm, qcom_aoss etc).
Fixes: a6199bb514 "irqchip: Add Qualcomm MPM controller driver"
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20260322171533.608436-1-jassisinghbrar@gmail.com
This commit is contained in:
parent
6de23f81a5
commit
cfe02147e8
|
|
@ -306,6 +306,8 @@ static int mpm_pd_power_off(struct generic_pm_domain *genpd)
|
|||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
mbox_client_txdone(priv->mbox_chan, 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -434,6 +436,7 @@ static int qcom_mpm_probe(struct platform_device *pdev, struct device_node *pare
|
|||
}
|
||||
|
||||
priv->mbox_client.dev = dev;
|
||||
priv->mbox_client.knows_txdone = true;
|
||||
priv->mbox_chan = mbox_request_channel(&priv->mbox_client, 0);
|
||||
if (IS_ERR(priv->mbox_chan)) {
|
||||
ret = PTR_ERR(priv->mbox_chan);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user