Re: [PATCH 2/2] soc: qcom: apr: Publish GPR callback before client probe

From: Mohit Sharma

Date: Wed Dec 02 2026 - 06:55:33 EST


Thanks for reviewing.

I added the PR_TYPE_GPR checks as a mechanism to keep the legacy APR paths
unchanged and avoid causing regressions. The GPR RX path dispatches through
svc->callback, whereas the APR RX path resolves the bound apr_driver and
invokes adrv->callback() directly. Therefore, only GPR requires early
publication of svc->callback. The matching check on the failure path only
undoes the early callback publication performed for GPR.

If removing these checks and using the same callback assignment ordering for
APR is preferable, I will update this in a new series. Please let me know.

Thanks,
Mohit