Skip to content

Instantly share code, notes, and snippets.

@jhiesey
Created September 23, 2015 22:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhiesey/e8aa134e415f723bae60 to your computer and use it in GitHub Desktop.
Save jhiesey/e8aa134e415f723bae60 to your computer and use it in GitHub Desktop.
PS/2 trackpad fix
diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c
index cb5ece7..3440789 100644
--- a/drivers/input/serio/i8042.c
+++ b/drivers/input/serio/i8042.c
@@ -883,6 +883,8 @@ static int i8042_controller_selftest(void)
unsigned char param;
int i = 0;
+ return 0;
+
/*
* We try this 5 times; on some really fragile systems this does not
* take the first time...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment