Hi All, This supersedes https://lore.kernel.org/linux-pm/12763087.O9o76ZdvQC@rafael.j.wysocki/ which was an update of https://lore.kernel.org/linux-pm/6204724.lOV4Wx5bFT@rafael.j.wysocki/ that superseded both https://lore.kernel.org/linux-pm/5049058.31r3eYUQgx@rafael.j.wysocki/ and https://lore.kernel.org/linux-pm/20250919163147.4743-1-tiwai@suse.de/ It follows the Jonathan's suggestion to use ACQUIRE()/ACQUIRE_ERR() instead af raw CLASS() to make the code somewhat cleaner. Thanks!
On Fri, 26 Sep 2025 17:40:29 +0200 "Rafael J. Wysocki" <rafael@kernel.org> wrote: > Hi All, > > This supersedes > > https://lore.kernel.org/linux-pm/12763087.O9o76ZdvQC@rafael.j.wysocki/ > > which was an update of > > https://lore.kernel.org/linux-pm/6204724.lOV4Wx5bFT@rafael.j.wysocki/ > > that superseded both > > https://lore.kernel.org/linux-pm/5049058.31r3eYUQgx@rafael.j.wysocki/ > > and > > https://lore.kernel.org/linux-pm/20250919163147.4743-1-tiwai@suse.de/ > > It follows the Jonathan's suggestion to use ACQUIRE()/ACQUIRE_ERR() > instead af raw CLASS() to make the code somewhat cleaner. > > Thanks! Looks excellent to me. I've already been pointing a few people at this in driver reviews, so I expect to see a lot of adoption in IIO (and elsewhere). That RPM_TRANSPARENT handling is particularly nice. With the tweaks you've already called out. Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com> Given timing, if this ends up as a next cycle thing please could we have an immutable branch? If it is going to make the merge window then no need. Thanks, Jonathan
On Mon, Sep 29, 2025 at 1:15 PM Jonathan Cameron <jonathan.cameron@huawei.com> wrote: > > On Fri, 26 Sep 2025 17:40:29 +0200 > "Rafael J. Wysocki" <rafael@kernel.org> wrote: > > > Hi All, > > > > This supersedes > > > > https://lore.kernel.org/linux-pm/12763087.O9o76ZdvQC@rafael.j.wysocki/ > > > > which was an update of > > > > https://lore.kernel.org/linux-pm/6204724.lOV4Wx5bFT@rafael.j.wysocki/ > > > > that superseded both > > > > https://lore.kernel.org/linux-pm/5049058.31r3eYUQgx@rafael.j.wysocki/ > > > > and > > > > https://lore.kernel.org/linux-pm/20250919163147.4743-1-tiwai@suse.de/ > > > > It follows the Jonathan's suggestion to use ACQUIRE()/ACQUIRE_ERR() > > instead af raw CLASS() to make the code somewhat cleaner. > > > > Thanks! > > Looks excellent to me. I've already been pointing a few people at this > in driver reviews, so I expect to see a lot of adoption in IIO (and elsewhere). > That RPM_TRANSPARENT handling is particularly nice. > > With the tweaks you've already called out. > > Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com> Thanks! > Given timing, if this ends up as a next cycle thing please could we have > an immutable branch? If it is going to make the merge window then no need. I'm actually going to push it for 6.18 during the second half of the merge window.
On Fri, 26 Sep 2025 17:40:29 +0200, Rafael J. Wysocki wrote: > > Hi All, > > This supersedes > > https://lore.kernel.org/linux-pm/12763087.O9o76ZdvQC@rafael.j.wysocki/ > > which was an update of > > https://lore.kernel.org/linux-pm/6204724.lOV4Wx5bFT@rafael.j.wysocki/ > > that superseded both > > https://lore.kernel.org/linux-pm/5049058.31r3eYUQgx@rafael.j.wysocki/ > > and > > https://lore.kernel.org/linux-pm/20250919163147.4743-1-tiwai@suse.de/ > > It follows the Jonathan's suggestion to use ACQUIRE()/ACQUIRE_ERR() > instead af raw CLASS() to make the code somewhat cleaner. ACQUIRE() version looks simpler and more suitable, indeed. Reviewed-by: Takashi Iwai <tiwai@suse.de> Thanks! Takashi
© 2016 - 2025 Red Hat, Inc.