linux/sound/soc/atmel
Andrei Simion 09cfc6a532
ASoC: atmel: mchp-pdmc: Skip ALSA restoration if substream runtime is uninitialized
Update the driver to prevent alsa-restore.service from failing when
reading data from /var/lib/alsa/asound.state at boot. Ensure that the
restoration of ALSA mixer configurations is skipped if substream->runtime
is NULL.

Fixes: 50291652af ("ASoC: atmel: mchp-pdmc: add PDMC driver")
Signed-off-by: Andrei Simion <andrei.simion@microchip.com>
Link: https://patch.msgid.link/20240924081237.50046-1-andrei.simion@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-09-24 13:34:28 +02: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
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
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: Skip ALSA restoration if substream runtime is uninitialized 2024-09-24 13:34:28 +02: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