diff --git a/ratbagd/ratbagd-profile.c b/ratbagd/ratbagd-profile.c index 08416b3b..bcf988b0 100644 --- a/ratbagd/ratbagd-profile.c +++ b/ratbagd/ratbagd-profile.c @@ -594,8 +594,11 @@ ratbagd_profile_set_report_rate(sd_bus *bus, return r; /* basic sanity check */ - if (rate > 8000) + if (rate < 125) { + rate = 125; + } else if (rate > 8000) { rate = 8000; + } r = ratbag_profile_set_report_rate(profile->lib_profile, rate); if (r == 0) {