diff options
author | Codrin Ciubotariu <codrin.ciubotariu@microchip.com> | 2024-09-13 15:06:22 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-09-13 15:10:09 +0100 |
commit | 2ed1a4a5c0058dfd78f5037576d668a37d0ec609 (patch) | |
tree | 70088caf07d8cd600a89ca77334ae530a61f1d64 /mm/Kconfig | |
parent | 49b2597a9e53a2491cbec29451766af898eedb44 (diff) |
ASoC: atmel: mchp-pdmc: Retain Non-Runtime Controls
Avoid removing these controls, as doing so can cause issues if the stream
is initiated from another control. Ensure these controls remain intact when
the stream is started or finished. Instead of removing them, return an
-EBUSY error code to indicate that the controller is busy, especially when
the audio filter and the SINC filter are in use.
[andrei.simion@microchip.com: Reword the commit title and the commit
message. Replace spinlock and busy variable with atomic_t busy_stream.]
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Signed-off-by: Andrei Simion <andrei.simion@microchip.com>
Link: https://patch.msgid.link/20240913120621.79088-1-andrei.simion@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'mm/Kconfig')
0 files changed, 0 insertions, 0 deletions