- mousedev-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     mosuedev fix
has been removed from the -mm tree.  Its filename was
     mousedev-fix.patch

This patch was dropped because the struct subsystem removal patch got applied

------------------------------------------------------
Subject: mosuedev fix
From: Dmitry Torokhov <dtor@xxxxxxxxxxxxx>

Signed-off-by: Dmitry Torokhov <dtor@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 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 dtor@xxxxxxxxxxxxx are

origin.patch
git-input.patch
mousedev-fix.patch
mousedev-fix-2.patch
input-rfkill-add-support-for-input-key-to-control-wireless-radio.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux