ucm: implement disdevall sequence command

It is useful to run all disable sequences for all
UCM devices in a verb to ensure the valid, expected
initial state.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2022-05-24 16:28:21 +02:00
parent 0ba999591b
commit 4119e33d28
4 changed files with 39 additions and 2 deletions

View file

@ -1106,6 +1106,11 @@ device:
continue;
}
if (strcmp(cmd, "disdevall") == 0) {
curr->type = SEQUENCE_ELEMENT_TYPE_DEV_DISABLE_ALL;
continue;
}
if (strcmp(cmd, "cset-bin-file") == 0) {
curr->type = SEQUENCE_ELEMENT_TYPE_CSET_BIN_FILE;
goto cset;