From ffcdee912dbc23b8c845e69f98e9b7f889d637d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filipe=20La=C3=ADns?= Date: Sun, 15 Dec 2019 00:55:25 +0000 Subject: [PATCH] libratbag: allow no resolutions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Filipe LaĆ­ns --- src/libratbag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libratbag.c b/src/libratbag.c index df42f79c..3ae41404 100644 --- a/src/libratbag.c +++ b/src/libratbag.c @@ -268,7 +268,7 @@ ratbag_sanity_check_device(struct ratbag_device *device) } nres = ratbag_profile_get_num_resolutions(profile); - if (nres == 0 || nres > 16) { + if (nres > 16) { log_bug_libratbag(ratbag, "%s: invalid number of resolutions (%d)\n", device->name,