uw: Fix touchpad toggle

Actually only returning notify stop on last key
messes up some platforms leading to that next toggle
does not register.

Should either stop all or none. From now stopping none.
This commit is contained in:
Christoffer Sandberg 2020-11-11 15:55:45 +01:00
parent d035d7afb0
commit eea83c3a37
No known key found for this signature in database
GPG key ID: BF563F71B6C7A96D

View file

@ -110,7 +110,7 @@ static int keyboard_notifier_callb(struct notifier_block *nb, unsigned long code
if (prevprev_key == 85 && prev_key == 29) {
TUXEDO_DEBUG("Touchpad Toggle\n");
schedule_work(&uniwill_key_event_work);
ret = NOTIFY_STOP;
ret = NOTIFY_OK;
}
break;
}