sst-linux/sound/soc/atmel
Andrei Simion 589be64748 ASoC: atmel: mchp-pdmc: Skip ALSA restoration if substream runtime is uninitialized
[ Upstream commit 09cfc6a532d249a51d3af5022d37ebbe9c3d31f6 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-17 15:21:34 +02:00
..
atmel_ssc_dai.c
atmel_ssc_dai.h
atmel_wm8904.c
atmel-classd.c
atmel-classd.h
atmel-i2s.c
atmel-pcm-dma.c
atmel-pcm-pdc.c
atmel-pcm.h
atmel-pdmic.c
atmel-pdmic.h
Kconfig
Makefile
mchp-i2s-mcc.c
mchp-pdmc.c
mchp-spdifrx.c
mchp-spdiftx.c
mikroe-proto.c
sam9g20_wm8731.c
sam9x5_wm8731.c
tse850-pcm5142.c