LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH v5 0/1] asus-wmi: add platform_profile support
@ 2021-08-18 19:07 Luke D. Jones
  2021-08-18 19:07 ` [PATCH v5 1/1] asus-wmi: Add support for platform_profile Luke D. Jones
  0 siblings, 1 reply; 5+ messages in thread
From: Luke D. Jones @ 2021-08-18 19:07 UTC (permalink / raw)
  To: linux-kernel; +Cc: hdegoede, hadess, platform-driver-x86, Luke D. Jones

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(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-19  7:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-18 19:07 [PATCH v5 0/1] asus-wmi: add platform_profile support Luke D. Jones
2021-08-18 19:07 ` [PATCH v5 1/1] asus-wmi: Add support for platform_profile Luke D. Jones
2021-08-18 19:25   ` Barnabás Pőcze
2021-08-18 20:11     ` Hans de Goede
2021-08-19  7:54   ` Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).