Skip to contentSkip to conversation

Patch "[media] rc-core: fix remove uevent generation" has been added to the 3.10-stable tree

PATCH [email protected] 1 participant 1 message Sep 26, 2015

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

[media] rc-core: fix remove uevent generation

to the 3.10-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
rc-core-fix-remove-uevent-generation.patch
and it can be found in the queue-3.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From a66b0c41ad277ae62a3ae6ac430a71882f899557 Mon Sep 17 00:00:00 2001

From: =?UTF-8?q?David=20H=C3=A4rdeman?= <[email protected]>
Date: Tue, 19 May 2015 19:03:12 -0300
Subject: [media] rc-core: fix remove uevent generation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

From: =?UTF-8?q?David=20H=C3=A4rdeman?= <[email protected]>

commit a66b0c41ad277ae62a3ae6ac430a71882f899557 upstream.

The input_dev is already gone when the rc device is being unregistered so checking for its presence only means that no remove uevent will be generated.

---
 drivers/media/rc/rc-main.c |    3 ---
 1 file changed, 3 deletions(-)
drivers/media/rc/rc-main.c +0 -3
@@ -943,9 +943,6 @@ static int rc_dev_uevent(struct device *
 {
 	struct rc_dev *dev = to_rc_dev(device);
 
-	if (!dev || !dev->input_dev)
-		return -ENODEV;
-
 	if (dev->rc_map.name)
 		ADD_HOTPLUG_VAR("NAME=%s", dev->rc_map.name);
 	if (dev->driver_name)

Patches currently in stable-queue which might be from [email protected] are

queue-3.10/rc-core-fix-remove-uevent-generation.patch