linux/sound/soc/atmel
Codrin Ciubotariu 2ed1a4a5c0
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>
2024-09-13 15:10:09 +01:00
..
atmel_ssc_dai.c ASoC: atmel_ssc_dai: Remove the unneeded result variable 2022-08-23 13:04:51 +01:00
atmel_ssc_dai.h ASoC: atmel_ssc_dai: Remove wrong spinlock usage 2019-09-18 11:12:24 +01:00
atmel_wm8904.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
atmel-classd.c ASoC: atmel: atmel-classd: Re-add dai_link->platform to fix card init 2024-06-06 14:04:00 +01:00
atmel-classd.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
atmel-i2s.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
atmel-pcm-dma.c ASoC: atmel: convert not to use asoc_xxx() 2023-09-25 14:16:27 +02:00
atmel-pcm-pdc.c ASoC: atmel: convert not to use asoc_xxx() 2023-09-25 14:16:27 +02:00
atmel-pcm.h ASoC: atmel: atmel-pcm-dma.c: use devm_snd_dmaengine_pcm_register() 2019-06-28 15:08:38 +01:00
atmel-pdmic.c ASoC: atmel: convert not to use asoc_xxx() 2023-09-25 14:16:27 +02:00
atmel-pdmic.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig ASoC: wm8731: Factor out the I2C and SPI bus code into separate modules 2022-04-04 08:39:32 +01:00
Makefile ASoC: atmel: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:15 +09:00
mchp-i2s-mcc.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
mchp-pdmc.c ASoC: atmel: mchp-pdmc: Retain Non-Runtime Controls 2024-09-13 15:10:09 +01:00
mchp-spdifrx.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
mchp-spdiftx.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
mikroe-proto.c ASoC: atmel: use devm_snd_soc_register_card() 2024-01-22 00:06:03 +00:00
sam9g20_wm8731.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
sam9x5_wm8731.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
tse850-pcm5142.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00