mbox series

[v5,0/1] asus-wmi: add platform_profile support

Message ID 20210818190731.19170-1-luke@ljones.dev (mailing list archive)
Headers show
Series asus-wmi: add platform_profile support | expand

Message

Luke Jones Aug. 18, 2021, 7:07 p.m. UTC
Changelog:
- V2
  + Correctly unregister from platform_profile if
    throttle_thermal_policy fails
  + Do platform_profile_notify() in both throttle_thermal_policy_store()
    and in throttle_thermal_policy_switch_next()
  + Remove unnecessary prep for possible fan-boost modes as this
    doesn't match expected platform_profile behaviour
- V3
  + Add missing declaration for err in
    throttle_thermal_policy_switch_next
- V4
  + Update some return codes to use -ENODATA
  + Switch pr_info() to dev_info()
  + Restructure some if/else blocks
  + Add "select ACPI_PLATFORM_PROFILE" to ASUS_WMI kconfig
- V5
  + Remove unrequired include asm-generic/errno.h
  + Collapse if blocks with only one line (remove parens)
  + Remove unrequired throttle_thermal_policy checks
  + Remove leftover comment from previous versions

Luke D. Jones (1):
  asus-wmi: Add support for platform_profile

 drivers/platform/x86/Kconfig    |   1 +
 drivers/platform/x86/asus-wmi.c | 130 +++++++++++++++++++++++++++++++-
 2 files changed, 127 insertions(+), 4 deletions(-)