Reset touchpad lock on resume

This commit is contained in:
Jeremy Soller 2018-09-06 09:35:52 -06:00
parent 54937b8592
commit 2b4bb890cb
1 changed files with 7 additions and 2 deletions

View File

@ -216,11 +216,16 @@ static int s76_resume(struct platform_device *dev) {
msleep(2000); msleep(2000);
ap_led_resume();
kb_led_resume();
// Enable hotkey support // Enable hotkey support
s76_wmbb(0x46, 0, NULL); s76_wmbb(0x46, 0, NULL);
ap_led_resume(); // Enable touchpad lock
kb_led_resume(); i8042_lock_chip();
i8042_command(NULL, 0x97);
i8042_unlock_chip();
return 0; return 0;
} }