Thread (6 messages) 6 messages, 3 authors, 2020-07-29

Re: [PATCH v5 1/1] power: Emit changed uevent on wakeup_sysfs_add/remove

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2020-07-23 18:32:33
Also in: linux-pm, lkml

On Tue, Jul 07, 2020 at 10:28:44AM -0700, Abhishek Pandit-Subedi wrote:
Udev rules that depend on the power/wakeup attribute don't get triggered
correctly if device_set_wakeup_capable is called after the device is
created. This can happen for several reasons (driver sets wakeup after
device is created, wakeup is changed on parent device, etc) and it seems
reasonable to emit a changed event when adding or removing attributes on
the device.

Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Rafael, any objection to this?  Do you want me to take it through my
tree, or are you going to take it through yours?  Either is fine for me.

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help