diff mbox

[RFC] input: remove bios I8042_CTR_XLATE check to make keyboard usable

Message ID 20091027053404.GA2241@darkstar.vlan7 (mailing list archive)
State New, archived
Headers show

Commit Message

Dave Young Oct. 27, 2009, 5:34 a.m. UTC
None
diff mbox

Patch

--- linux-2.6.orig/drivers/input/serio/i8042.c	2009-10-13 08:57:07.000000000 +0800
+++ linux-2.6/drivers/input/serio/i8042.c	2009-10-27 13:15:13.000000000 +0800
@@ -869,14 +869,6 @@  static int i8042_controller_init(void)
 	spin_unlock_irqrestore(&i8042_lock, flags);
 
 /*
- * If the chip is configured into nontranslated mode by the BIOS, don't
- * bother enabling translating and be happy.
- */
-
-	if (~i8042_ctr & I8042_CTR_XLATE)
-		i8042_direct = true;
-
-/*
  * Set nontranslated mode for the kbd interface if requested by an option.
  * After this the kbd interface becomes a simple serial in/out, like the aux
  * interface is. We don't do this by default, since it can confuse notebook