Merge commit 'v2.6.33-rc5' into next
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 22 Jan 2010 07:55:25 +0000 (23:55 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 22 Jan 2010 07:55:25 +0000 (23:55 -0800)
1  2 
drivers/input/input.c
drivers/input/joystick/xpad.c
drivers/input/keyboard/adp5588-keys.c
drivers/input/keyboard/atkbd.c
drivers/input/keyboard/sh_keysc.c
drivers/input/mouse/hgpk.c
drivers/input/serio/serio.c
include/linux/serio.h

Simple merge
Simple merge
Simple merge
@@@ -1165,10 -1169,10 +1175,11 @@@ static int atkbd_reconnect(struct seri
  {
        struct atkbd *atkbd = serio_get_drvdata(serio);
        struct serio_driver *drv = serio->drv;
+       int retval = -1;
  
        if (!atkbd || !drv) {
 -              printk(KERN_DEBUG "atkbd: reconnect request, but serio is disconnected, ignoring...\n");
 +              dev_dbg(&serio->dev,
 +                      "reconnect request, but serio is disconnected, ignoring...\n");
                return -1;
        }
  
Simple merge
Simple merge
@@@ -275,36 -284,32 +275,30 @@@ static void serio_handle_event(void
  
        mutex_lock(&serio_mutex);
  
-       /*
-        * Note that we handle only one event here to give swsusp
-        * a chance to freeze kseriod thread. Serio events should
-        * be pretty rare so we are not concerned about taking
-        * performance hit.
-        */
-       if ((event = serio_get_event())) {
+       while ((event = serio_get_event())) {
  
                switch (event->type) {
 -                      case SERIO_REGISTER_PORT:
 -                              serio_add_port(event->object);
 -                              break;
  
 -                      case SERIO_RECONNECT_PORT:
 -                              serio_reconnect_port(event->object);
 -                              break;
 +              case SERIO_REGISTER_PORT:
 +                      serio_add_port(event->object);
 +                      break;
  
 -                      case SERIO_RESCAN_PORT:
 -                              serio_disconnect_port(event->object);
 -                              serio_find_driver(event->object);
 -                              break;
 +              case SERIO_RECONNECT_PORT:
 +                      serio_reconnect_port(event->object);
 +                      break;
  
 -                      case SERIO_RECONNECT_CHAIN:
 -                              serio_reconnect_chain(event->object);
 -                              break;
 +              case SERIO_RESCAN_PORT:
 +                      serio_disconnect_port(event->object);
 +                      serio_find_driver(event->object);
 +                      break;
  
 -                      case SERIO_ATTACH_DRIVER:
 -                              serio_attach_driver(event->object);
 -                              break;
 +              case SERIO_RECONNECT_CHAIN:
 +                      serio_reconnect_chain(event->object);
 +                      break;
  
 -                      default:
 -                              break;
 +              case SERIO_ATTACH_DRIVER:
 +                      serio_attach_driver(event->object);
 +                      break;
                }
  
                serio_remove_duplicate_events(event);
Simple merge