[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 7 Jul 2007 03:05:03 +0200 (CEST)
From: Jiri Kosina <jkosina@...e.cz>
To: Dmitry Torokhov <dtor@...ightbb.com>
Cc: Marcel Holtmann <marcel@...tmann.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
David Woodhouse <dwmw2@...radead.org>,
Michal Piotrowski <michal.k.k.piotrowski@...il.com>,
LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Greg KH <greg@...ah.com>
Subject: Re: [1/2] 2.6.22-rc7: known regressions
On Fri, 6 Jul 2007, Dmitry Torokhov wrote:
> This is for devices using boot protocol, not full HID as far as I
> understand.
David,
could you please try with the trivial patch below and report the output?
I'd be interested to know whether we are by any chance really seeing
double input_unregister_device() for the same input_dev somehow. Thanks.
diff --git a/drivers/input/input.c b/drivers/input/input.c
index ccd8aba..ed5adb4 100644
--- a/drivers/input/input.c
+++ b/drivers/input/input.c
@@ -1160,6 +1160,9 @@ void input_unregister_device(struct input_dev *dev)
struct input_handle *handle, *next;
int code;
+ printk(KERN_DEBUG "input_unregister_device for %p\n", dev);
+ dump_stack();
+
for (code = 0; code <= KEY_MAX; code++)
if (test_bit(code, dev->key))
input_report_key(dev, code, 0);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists