- macintosh-fix-fabrication-of-caplock-key-events.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     macintosh: fix fabrication of caplock key events
has been removed from the -mm tree.  Its filename was
     macintosh-fix-fabrication-of-caplock-key-events.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: macintosh: fix fabrication of caplock key events
From: Andy Wingo <wingo@xxxxxxxxx>

If the user has turned on the "restore_caplock_events" parameter, the code
mangles the capslock events correctly, then erroneously ignores those
events.  Fix logic to allow correct fallthrough.

Signed-off-by: Andy Wingo <wingo@xxxxxxxxx>
Acked-by: Andrew McNabb <amcnabb@xxxxxxxxxxx>
Cc: Dmitry Torokhov <dtor@xxxxxxx>
Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
cc: Paul Mackerras <paulus@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/macintosh/adbhid.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff -puN drivers/macintosh/adbhid.c~macintosh-fix-fabrication-of-caplock-key-events drivers/macintosh/adbhid.c
--- a/drivers/macintosh/adbhid.c~macintosh-fix-fabrication-of-caplock-key-events
+++ a/drivers/macintosh/adbhid.c
@@ -322,8 +322,9 @@ adbhid_input_keycode(int id, int scancod
 			input_sync(ahid->input);
 			input_report_key(ahid->input, KEY_CAPSLOCK, 0);
 			input_sync(ahid->input);
+			return;
 		}
-		return;
+		break;
 #ifdef CONFIG_PPC_PMAC
 	case ADB_KEY_POWER_OLD: /* Power key on PBook 3400 needs remapping */
 		switch(pmac_call_feature(PMAC_FTR_GET_MB_INFO,
_

Patches currently in -mm which might be from wingo@xxxxxxxxx are

origin.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux