Hi, Thank you for your patch. On 11/24/23 10:41, SungHwan Jung wrote: > Support CPU and GPU fan speed monitoring through WMI for Predator > PHN16-71. > > This patch depends on patch "platform/x86: acer-wmi: Add platform > profile and mode key support for Predator PHN16-71" > > Signed-off-by: SungHwan Jung <onenowy@xxxxxxxxx> > --- > drivers/platform/x86/Kconfig | 1 + > drivers/platform/x86/acer-wmi.c | 104 +++++++++++++++++++++++++++++++- > 2 files changed, 103 insertions(+), 2 deletions(-) > > diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig > index 7e69fdacc..caf3f4c6b 100644 > --- a/drivers/platform/x86/Kconfig > +++ b/drivers/platform/x86/Kconfig <snip> > @@ -2505,6 +2535,9 @@ static int acer_platform_probe(struct platform_device *device) > goto error_platform_profile; > } > > + if (has_cap(ACER_CAP_FAN_SPEED_READ)) > + err = acer_wmi_hwmon_init(); > + > return err; > > error_rfkill: This has the same error-handling problem as patch 1/3. I have fixed this up in the same manner while merging this, resulting in: if (has_cap(ACER_CAP_PLATFORM_PROFILE)) { err = acer_platform_profile_setup(); if (err) goto error_platform_profile; } if (has_cap(ACER_CAP_FAN_SPEED_READ)) { err = acer_wmi_hwmon_init(); if (err) goto error_hwmon; } return 0; error_hwmon: if (platform_profile_support) platform_profile_remove(); error_platform_profile: acer_rfkill_exit(); error_rfkill: if (has_cap(ACER_CAP_BRIGHTNESS)) acer_backlight_exit(); ... Thank you for your patch, I've applied this patch to my review-hans branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while. Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window. Regards, Hans