[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0710291355540.18815@twin.jikos.cz>
Date: Mon, 29 Oct 2007 13:57:25 +0100 (CET)
From: Jiri Kosina <jikos@...os.cz>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
cc: Dirk Hohndel <hohndel@...ux.intel.com>,
Jeff Garzik <jeff@...zik.org>,
linux-input@...ey.karlin.mff.cuni.cz, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] INPUT: fix hidinput_connect ignoring retval from
input_register_device
On Mon, 29 Oct 2007, Dmitry Torokhov wrote:
> Please don't - the fix is completely broken for multi-input devices -
> if 2nd device fails to register we bail out of hidinput_connect and
> thus never set HID_CLAIMED_INPUT bit. So when we disconnect device we
> never call hidinput_disconnect and who knows what will happen after
> that.
You are of course right, stupid me. I won't commit anything before first
morning coffee any more.
Thanks a lot.
--
Jiri Kosina
-
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