diff options
| author | Chancel Liu <chancel.liu@nxp.com> | 2026-10-19 15:58:20 +0900 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-28 17:04:09 +0000 |
| commit | bbe41586cdfa9aeb95d24b5682ce3a0f528e9648 (patch) | |
| tree | 4fd6aa542e9500b17e73fe78b18da795029aa9f0 /scripts/basic | |
| parent | 3b54e739273752b370e49b09976da152fa3b802c (diff) | |
| download | linux-bbe41586cdfa9aeb95d24b5682ce3a0f528e9648.tar.gz linux-bbe41586cdfa9aeb95d24b5682ce3a0f528e9648.zip | |
ASoC: imx-pcm-rpmsg: Flush pending work in hw_free
imx_rpmsg_terminate_all() queues the TERMINATE message to the workqueue
and returns, while the DAI hw_free() synchronously gates the audio
clock. The two can then run concurrently, and this concurrent access to
the shared audio clock path can cause a stop failure or even hang the
system.
Flush the workqueue in a new component hw_free(), which runs before the
DAI hw_free(), so TERMINATE is fully handled before the clock is gated.
CLOSE stays the last message.
Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Link: https://patch.msgid.link/20261019-b4-imx-pcm-rpmsg-concurrent-v1-1-c1fb8c33f4db@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
