diff options
author | Andrei Simion <[email protected]> | 2024-09-24 11:12:38 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-09-24 13:34:28 +0200 |
commit | 09cfc6a532d249a51d3af5022d37ebbe9c3d31f6 (patch) | |
tree | 0018a9aa4b427a845a5e79b251a82e3c35a0ab1f /rust/helpers/task.c | |
parent | 01e709aeaf913a4d0e04f9957d399cf6fc3b5455 (diff) |
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: 50291652af52 ("ASoC: atmel: mchp-pdmc: add PDMC driver")
Signed-off-by: Andrei Simion <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions