]> git.alsa-project.org Git - alsa-utils.git/commit
alsactl: ucm: add wrestore command and wait_for_card() for boot synchronization
authorJaroslav Kysela <perex@perex.cz>
Thu, 27 Nov 2025 17:39:17 +0000 (18:39 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 4 Dec 2025 14:08:14 +0000 (15:08 +0100)
commit8d46253ac3716bd6f7e6bac78aed6955dba0b21b
tree35d5abe051804171030f5a68800eccc0cb61422a
parent82caf6e7f35f85d64ce0c2049ea47db1133e61e7
alsactl: ucm: add wrestore command and wait_for_card() for boot synchronization

Implement wait.c with wait_for_card() function to monitor Boot control
element and wait for card readiness using event-based polling.

Add "wrestore" command to wait for card ready state before restore.
Add FLAG_UCM_WAIT flag and move DEFAULT_SYNC_TIME to alsactl.h.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
alsactl/Makefile.am
alsactl/alsactl.c
alsactl/alsactl.h
alsactl/init_ucm.c
alsactl/state.c
alsactl/wait.c [new file with mode: 0644]