diff options
| author | Mohit Sharma <mohit.sharma@oss.qualcomm.com> | 2026-10-22 20:11:29 +0530 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-11-02 22:38:17 +0000 |
| commit | ef7062864c0511bba52775d0eb3aa72d886b5f3a (patch) | |
| tree | 8ccaa2326c90449f0a6c4fe7637e81def9e3833d /scripts/stackusage | |
| parent | f65f866dacbb10a37e4fae4076627c767afd3cbb (diff) | |
ASoC: qcom: q6apm: Guard callbacks until probe data is ready
The GPR bus needs to make response callbacks available before invoking a
client probe because clients can issue synchronous commands from probe.
This creates a short interval where a callback can run before the client
has published its private data.
Make q6apm publish its driver data only after all callback-visible state
has been initialized. Have the q6apm and q6prm callbacks ignore packets
received before driver data is available.
Fixes: ec1471a898cc ("soc: qcom: apr: Add GPR support")
Cc: stable@vger.kernel.org
Co-developed-by: Ajay Kumar Nandam <ajay.nandam@oss.qualcomm.com>
Signed-off-by: Ajay Kumar Nandam <ajay.nandam@oss.qualcomm.com>
Signed-off-by: Mohit Sharma <mohit.sharma@oss.qualcomm.com>
Link: https://patch.msgid.link/20261022144130.2443667-2-mohit.sharma@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
