aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/amd/pmf/auto-mode.c
diff options
context:
space:
mode:
authorIlpo Järvinen <[email protected]>2025-05-11 21:18:11 +0000
committerIlpo Järvinen <[email protected]>2025-05-11 21:18:11 +0000
commit593ee93aa710ea0159f363b2f1950ecb6c9ddca2 (patch)
tree806cc74dd9a3f0481f320455b0a59e21300f7958 /drivers/platform/x86/amd/pmf/auto-mode.c
parentplatform/mellanox: mlxreg-dpu: Fix smatch warnings (diff)
parentplatform/x86: asus-wmi: Fix wlan_ctrl_by_user detection (diff)
downloadkernel-593ee93aa710ea0159f363b2f1950ecb6c9ddca2.tar.gz
kernel-593ee93aa710ea0159f363b2f1950ecb6c9ddca2.zip
Merge branch 'fixes' into for-next
Resolve conflicts in dell/alienware-wmi-wmax and asus-wmi, and enable applying a few amd/hsmp patches that depend on changes in the fixes branch.
Diffstat (limited to 'drivers/platform/x86/amd/pmf/auto-mode.c')
-rw-r--r--drivers/platform/x86/amd/pmf/auto-mode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/x86/amd/pmf/auto-mode.c b/drivers/platform/x86/amd/pmf/auto-mode.c
index 02ff68be10d0..a184922bba8d 100644
--- a/drivers/platform/x86/amd/pmf/auto-mode.c
+++ b/drivers/platform/x86/amd/pmf/auto-mode.c
@@ -120,9 +120,9 @@ static void amd_pmf_set_automode(struct amd_pmf_dev *dev, int idx,
amd_pmf_send_cmd(dev, SET_SPPT_APU_ONLY, false, pwr_ctrl->sppt_apu_only, NULL);
amd_pmf_send_cmd(dev, SET_STT_MIN_LIMIT, false, pwr_ctrl->stt_min, NULL);
amd_pmf_send_cmd(dev, SET_STT_LIMIT_APU, false,
- pwr_ctrl->stt_skin_temp[STT_TEMP_APU], NULL);
+ fixp_q88_fromint(pwr_ctrl->stt_skin_temp[STT_TEMP_APU]), NULL);
amd_pmf_send_cmd(dev, SET_STT_LIMIT_HS2, false,
- pwr_ctrl->stt_skin_temp[STT_TEMP_HS2], NULL);
+ fixp_q88_fromint(pwr_ctrl->stt_skin_temp[STT_TEMP_HS2]), NULL);
if (is_apmf_func_supported(dev, APMF_FUNC_SET_FAN_IDX))
apmf_update_fan_idx(dev, config_store.mode_set[idx].fan_control.manual,