ucm: sort devices by priority

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2025-11-18 14:23:18 +01:00
parent a525015e3b
commit b3e4b15583
3 changed files with 181 additions and 0 deletions

View file

@ -179,6 +179,9 @@ struct use_case_device {
/* value list */
struct list_head value_list;
/* cached priority for sorting (LONG_MIN if not determined) */
long sort_priority;
};
/*