The patch titled
mosuedev fix
has been added to the -mm tree. Its filename is
mousedev-fix.patch
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this
------------------------------------------------------
Subject: mosuedev fix
From: Dmitry Torokhov <[EMAIL PROTECTED]>
Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/input/mousedev.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff -puN drivers/input/mousedev.c~mousedev-fix drivers/input/mousedev.c
--- a/drivers/input/mousedev.c~mousedev-fix
+++ a/drivers/input/mousedev.c
@@ -406,12 +406,14 @@ static void mixdev_open_devices(void)
struct mousedev *mousedev;
list_for_each_entry(mousedev, &mousedev_mix_list, mixdev_node) {
- if (mousedev->exist && !mousedev->open) {
- if (input_open_device(&mousedev->handle))
- continue;
+ if (mousedev->exist && !mousedev->mixdev_open) {
+ if (!mousedev->open) {
+ if (input_open_device(&mousedev->handle))
+ continue;
- get_device(&mousedev->dev);
- mousedev->open++;
+ get_device(&mousedev->dev);
+ mousedev->open++;
+ }
mousedev->mixdev_open++;
}
}
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
git-input.patch
input-convert-from-class-devices-to-standard-devices.patch
input-evdev-implement-proper-locking.patch
mousedev-fix.patch
input-rfkill-add-support-for-input-key-to-control-wireless-radio-fixes.patch
input-rfkill-add-support-for-input-key-to-control-wireless-radio-fixes-fix.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html