diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2025-03-31 10:06:23 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-03-31 14:51:55 +0300 |
commit | 7d783d9074cb1d54179ca03df514fe4b0bbae5ab (patch) | |
tree | 680cf58d3c0d51d305bc7b105db2ad51d40aa974 /net/lapb/lapb_iface.c | |
parent | 7eccc86e90f04a0d758d16c08627a620ac59604d (diff) | |
download | linux-7d783d9074cb1d54179ca03df514fe4b0bbae5ab.tar.xz |
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 <peter.ujfalusi@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://patch.msgid.link/20250331070623.5985-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions