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
index 7c235013dba3e4d2d94f9b55968967b79355fbb0,7b4056292eaf9387b95fe80c147ad6c9a65920e5..326875be192ed63d77bc40aa0c79c1e0c782c1a3
@@@ -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
index ee69ec399e089ac55feafe8e2f9090001a986c1a,e0f30186d513d4633649beeb9a7f73e361c7d972..c3b626e9eae7c075cd7597779ddbef4becb731f6
@@@ -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