diff options
| author | Peter Ujfalusi <[email protected]> | 2025-03-31 07:06:23 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2025-03-31 11:51:55 +0000 |
| commit | 7d783d9074cb1d54179ca03df514fe4b0bbae5ab (patch) | |
| tree | 680cf58d3c0d51d305bc7b105db2ad51d40aa974 /net/core/lock_debug.c | |
| parent | ASoC: qdsp6: q6asm-dai: fix q6asm_dai_compr_set_params error path (diff) | |
| download | kernel-7d783d9074cb1d54179ca03df514fe4b0bbae5ab.tar.gz kernel-7d783d9074cb1d54179ca03df514fe4b0bbae5ab.zip | |
ASoC: SOF: hda/ptl: Move mic privacy change notification sending to a work
IPC message cannot be sent from the irq thread directly as the message will
not receive the reply (interrupts are disabled) and it will time out - the
reply is going to be received right after the we leave the irq thread.
This is a different case compared to the delayed IPC messages due to DSP
busy state.
Add support for sending the mic privacy change notification to the firmware
from a work instead of the process callback.
The work needs to be canceled if there is a chance that it might be running
on module remove or before system/runtime suspend.
Fixes: 4a43c3241ec3 ("ASoC: SOF: Intel: ptl: Add support for mic privacy")
Signed-off-by: Peter Ujfalusi <[email protected]>
Reviewed-by: Guennadi Liakhovetski <[email protected]>
Reviewed-by: Liam Girdwood <[email protected]>
Reviewed-by: Kai Vehmanen <[email protected]>
Reviewed-by: Ranjani Sridharan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/core/lock_debug.c')
0 files changed, 0 insertions, 0 deletions
