Skip to content
Snippets Groups Projects
Unverified Commit 09cfc6a5 authored by Andrei Simion's avatar Andrei Simion Committed by Mark Brown
Browse files

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: 50291652 ("ASoC: atmel: mchp-pdmc: add PDMC driver")
Signed-off-by: default avatarAndrei Simion <andrei.simion@microchip.com>
Link: https://patch.msgid.link/20240924081237.50046-1-andrei.simion@microchip.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 01e709ae
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment