]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/input/serio/serio_raw.c
saner FASYNC handling on file close
[linux-2.6-omap-h63xx.git] / drivers / input / serio / serio_raw.c
index c9397c8ee97e8ea44c4f0edc4a6172bd022178ac..06bbd0e74c6f96d37ff423c60f78eebe92f8fb83 100644 (file)
@@ -135,7 +135,6 @@ static int serio_raw_release(struct inode *inode, struct file *file)
 
        mutex_lock(&serio_raw_mutex);
 
-       serio_raw_fasync(-1, file, 0);
        serio_raw_cleanup(serio_raw);
 
        mutex_unlock(&serio_raw_mutex);
@@ -373,6 +372,12 @@ static struct serio_device_id serio_raw_serio_ids[] = {
                .id     = SERIO_ANY,
                .extra  = SERIO_ANY,
        },
+       {
+               .type   = SERIO_8042_XL,
+               .proto  = SERIO_ANY,
+               .id     = SERIO_ANY,
+               .extra  = SERIO_ANY,
+       },
        { 0 }
 };