Re: [PATCH 0/3] ACPI: platform_profile: fix legacy sysfs with multiple handlers

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

 



On Tue, Feb 25, 2025 at 7:07 AM Antheas Kapenekakis <lkml@xxxxxxxxxxx> wrote:
>
> Yes, making asus-wmi use low-power is indeed the easiest solution, but
> if I thought it was good enough, I would have done that already as a
> downstream consumer of the kernel.
>
> I just want to be done with this once and for all, so I spent an extra
> hour today solving this in a cleaner way.

What about adding "quiet" as a "hidden choice" to amd-pmf such that it
would allow the test_bit(*bit, handler->choices) check in
_store_class_profile() to pass, but it would not cause this "choice"
to become visible in the new I/F (or when amd-pmf becomes the only
platform-profile driver) and it would be aliased to "low-power"
internally?





[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux