OpenCloudOS-Kernel/sound/soc/atmel
Andrei Simion 0152c81f61 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-10 11:57:19 +02: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: mchp-pdmc: add PDMC driver 2022-03-08 13:38:59 +00:00
atmel-classd.c ASoC: atmel: atmel-classd: Re-add dai_link->platform to fix card init 2024-07-05 09:33:45 +02:00
atmel-classd.h
atmel-i2s.c ASoC: atmel: merge DAI call back functions into ops 2023-08-14 13:10:19 +01:00
atmel-pcm-dma.c ASoC: atmel: convert not to use asoc_xxx() 2024-07-05 09:33:45 +02:00
atmel-pcm-pdc.c ASoC: atmel: convert not to use asoc_xxx() 2024-07-05 09:33:45 +02:00
atmel-pcm.h
atmel-pdmic.c ASoC: atmel: convert not to use asoc_xxx() 2024-07-05 09:33:45 +02:00
atmel-pdmic.h
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
atmel_wm8904.c ASoC: atmel: convert not to use asoc_xxx() 2024-07-05 09:33:45 +02:00
mchp-i2s-mcc.c ASoC: atmel: merge DAI call back functions into ops 2023-08-14 13:10:19 +01:00
mchp-pdmc.c ASoC: atmel: mchp-pdmc: Skip ALSA restoration if substream runtime is uninitialized 2024-10-10 11:57:19 +02:00
mchp-spdifrx.c ASoC: atmel: merge DAI call back functions into ops 2023-08-14 13:10:19 +01:00
mchp-spdiftx.c ASoC: atmel: merge DAI call back functions into ops 2023-08-14 13:10:19 +01:00
mikroe-proto.c ASoC: atmel: convert not to use asoc_xxx() 2024-07-05 09:33:45 +02:00
sam9g20_wm8731.c ASoC: atmel: convert not to use asoc_xxx() 2024-07-05 09:33:45 +02:00
sam9x5_wm8731.c ASoC: atmel: convert not to use asoc_xxx() 2024-07-05 09:33:45 +02:00
tse850-pcm5142.c ASoC: atmel: tse850-pcm5142: Remove redundant of_match_ptr() 2023-08-13 19:37:45 +01:00