aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/serio
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2010-01-22 02:55:25 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-01-22 02:55:25 -0500
commit7755726fe90a8b253659756e6de68c1a55aa427f (patch)
treea3523fa77e07854db3b8089e3066a55ea997060c /drivers/input/serio
parent3bf127637e22ddf95e67e10a23c339cee3d52429 (diff)
parent92dcffb916d309aa01778bf8963a6932e4014d07 (diff)
Merge commit 'v2.6.33-rc5' into next
Diffstat (limited to 'drivers/input/serio')
-rw-r--r--drivers/input/serio/i8042-x86ia64io.h7
-rw-r--r--drivers/input/serio/serio.c11
2 files changed, 9 insertions, 9 deletions
diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h
index 64b688daf48a..2a5982e532f8 100644
--- a/drivers/input/serio/i8042-x86ia64io.h
+++ b/drivers/input/serio/i8042-x86ia64io.h
@@ -524,6 +524,13 @@ static const struct dmi_system_id __initconst i8042_dmi_laptop_table[] = {
524 */ 524 */
525static const struct dmi_system_id __initconst i8042_dmi_dritek_table[] = { 525static const struct dmi_system_id __initconst i8042_dmi_dritek_table[] = {
526 { 526 {
527 /* Acer Aspire 5610 */
528 .matches = {
529 DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
530 DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5610"),
531 },
532 },
533 {
527 /* Acer Aspire 5630 */ 534 /* Acer Aspire 5630 */
528 .matches = { 535 .matches = {
529 DMI_MATCH(DMI_SYS_VENDOR, "Acer"), 536 DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
diff --git a/drivers/input/serio/serio.c b/drivers/input/serio/serio.c
index ee69ec399e08..c3b626e9eae7 100644
--- a/drivers/input/serio/serio.c
+++ b/drivers/input/serio/serio.c
@@ -275,13 +275,7 @@ static void serio_handle_event(void)
275 275
276 mutex_lock(&serio_mutex); 276 mutex_lock(&serio_mutex);
277 277
278 /* 278 while ((event = serio_get_event())) {
279 * Note that we handle only one event here to give swsusp
280 * a chance to freeze kseriod thread. Serio events should
281 * be pretty rare so we are not concerned about taking
282 * performance hit.
283 */
284 if ((event = serio_get_event())) {
285 279
286 switch (event->type) { 280 switch (event->type) {
287 281
@@ -367,10 +361,9 @@ static struct serio *serio_get_pending_child(struct serio *parent)
367 361
368static int serio_thread(void *nothing) 362static int serio_thread(void *nothing)
369{ 363{
370 set_freezable();
371 do { 364 do {
372 serio_handle_event(); 365 serio_handle_event();
373 wait_event_freezable(serio_wait, 366 wait_event_interruptible(serio_wait,
374 kthread_should_stop() || !list_empty(&serio_event_list)); 367 kthread_should_stop() || !list_empty(&serio_event_list));
375 } while (!kthread_should_stop()); 368 } while (!kthread_should_stop());
376 369