From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8262C433E0 for ; Mon, 27 Jul 2020 13:38:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 61C652083B for ; Mon, 27 Jul 2020 13:38:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595857096; bh=UQu1gVo9L4rw5zqbtV+t10WaKXY4Uy+PnQiLyriZrwQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-ID:From; b=SXwwZ2DyD4qL7d8hwmU/1TfQ+M+Kzcv2AaHHREBBadJH353RIyX1J56tp7D5tVJD2 lr83snfMrIg1NisSSgRKS40xIAuQqvB1M0L8LgMjD4MU31QrzuoVl6yRjQQmsVVcF6 Lx3FMNzAX+Rosgwn1/k/OSerMSi0GnBddgZSKMgc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727067AbgG0NiP (ORCPT ); Mon, 27 Jul 2020 09:38:15 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:42994 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726298AbgG0NiO (ORCPT ); Mon, 27 Jul 2020 09:38:14 -0400 Received: by mail-ot1-f68.google.com with SMTP id v21so5038867otj.9; Mon, 27 Jul 2020 06:38:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GDgvxbFtjoqaUGPEDtkInSIpJVJqkW3IcV+Wtsu5ITc=; b=jhprwpJIoQNfyotKw7z1LMzWKpQo7AV2X/QKY3t2H76Hwhu7eN/1HnzYjb2qh0HDI4 CplFkvXn/D3yoviIItBgSxzuAmpst3iBWRHn6zp0WsOVFbvBnXCkpvt4oqP5Vb8LqFnl NQSkw33fARMF841U/77bLsva5Yom0l/k01jZPZPyPQ/T11Cn5s05mYcuoB2faXzUDyPd eIMLFblkpv2PWkmoMarPoJrGoj/Md1oAtrMCx5lxktzoG3wMItCwW4TkFQ7FKdk4wWPI ijV0lWpKg/wzFSCWjj9DPla0Y5ypTH1dbwxubJUYASwrTNHFQbmAwePk9PmOeGvhZfok lmAA== X-Gm-Message-State: AOAM5329GVgf1plMyji0Aph1G7BKFPeOmoxxUSeevX50toVbMWXTXEm5 Ms5rvLHWvDFB3XCPmzl4w8xXD6iqxbdsSIie1Ys= X-Google-Smtp-Source: ABdhPJy3txxI99b+fWzbhQVo+HWM4RYjrP2BIU1Ci2RDTj9GPs21eK4gnxtDjDTfKgLqwvw2gVDmbZ5VIuYYJXomKTc= X-Received: by 2002:a05:6830:1e5c:: with SMTP id e28mr2285084otj.118.1595857093698; Mon, 27 Jul 2020 06:38:13 -0700 (PDT) MIME-Version: 1.0 References: <20200707172845.4177903-1-abhishekpandit@chromium.org> <20200707102823.v5.1.I51f5a0be89595b73c4dc17e6cf4cc6f26dc7f2fc@changeid> <20200723183235.GA3445384@kroah.com> In-Reply-To: <20200723183235.GA3445384@kroah.com> From: "Rafael J. Wysocki" Date: Mon, 27 Jul 2020 15:38:02 +0200 Message-ID: Subject: Re: [PATCH v5 1/1] power: Emit changed uevent on wakeup_sysfs_add/remove To: Greg Kroah-Hartman Cc: Abhishek Pandit-Subedi , Rafael Wysocki , Linux PM , "open list:BLUETOOTH DRIVERS" , ChromeOS Bluetooth Upstreaming , Stephen Boyd , "Rafael J. Wysocki" , Linux Kernel Mailing List , Len Brown , Pavel Machek Content-Type: text/plain; charset="UTF-8" Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On Thu, Jul 23, 2020 at 8:32 PM Greg Kroah-Hartman wrote: > > 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 > > 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. It's already there in my tree with the R-by tag from you. Cheers!