We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bb7b68 commit 5eb15d2Copy full SHA for 5eb15d2
drivers/platform/x86/asus-wmi.c
@@ -3569,6 +3569,16 @@ static int platform_profile_setup(struct asus_wmi *asus)
3569
if (!asus->throttle_thermal_policy_dev)
3570
return 0;
3571
3572
+ /*
3573
+ * We need to set the default thermal profile during probe or otherwise
3574
+ * the system will often remain in silent mode, causing low performance.
3575
+ */
3576
+ err = throttle_thermal_policy_set_default(asus);
3577
+ if (err < 0) {
3578
+ pr_warn("Failed to set default thermal profile\n");
3579
+ return err;
3580
+ }
3581
+
3582
dev_info(dev, "Using throttle_thermal_policy for platform_profile support\n");
3583
3584
asus->platform_profile_handler.profile_get = asus_wmi_platform_profile_get;
0 commit comments