mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
libratbag: check if profile is dirty in sanity check
This commit is contained in:
@@ -299,6 +299,13 @@ ratbag_sanity_check_device(struct ratbag_device *device)
|
||||
device->name);
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (profile->dirty) {
|
||||
log_bug_libratbag(ratbag,
|
||||
"%s: profile is dirty while probing\n",
|
||||
device->name);
|
||||
/* Don't bail yet, as we may have some drivers that do this. */
|
||||
}
|
||||
}
|
||||
|
||||
/* Require 1 active profile */
|
||||
|
||||
Reference in New Issue
Block a user