Skip to content

Commit 1f5abbd

Browse files
committed
Merge tag 'thermal-6.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull thermal control fix from Rafael Wysocki: "Add a missing sysfs attribute to the int340x thermal driver (Srinivas Pandruvada)" * tag 'thermal-6.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: thermal: int340x: Add missing attribute for data rate base
2 parents 50011c3 + b878d3b commit 1f5abbd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/thermal/intel/int340x_thermal/processor_thermal_rfim.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ static const struct attribute_group fivr_attribute_group = {
172172
RFIM_SHOW(rfi_restriction_run_busy, 1)
173173
RFIM_SHOW(rfi_restriction_err_code, 1)
174174
RFIM_SHOW(rfi_restriction_data_rate, 1)
175+
RFIM_SHOW(rfi_restriction_data_rate_base, 1)
175176
RFIM_SHOW(ddr_data_rate_point_0, 1)
176177
RFIM_SHOW(ddr_data_rate_point_1, 1)
177178
RFIM_SHOW(ddr_data_rate_point_2, 1)
@@ -181,11 +182,13 @@ RFIM_SHOW(rfi_disable, 1)
181182
RFIM_STORE(rfi_restriction_run_busy, 1)
182183
RFIM_STORE(rfi_restriction_err_code, 1)
183184
RFIM_STORE(rfi_restriction_data_rate, 1)
185+
RFIM_STORE(rfi_restriction_data_rate_base, 1)
184186
RFIM_STORE(rfi_disable, 1)
185187

186188
static DEVICE_ATTR_RW(rfi_restriction_run_busy);
187189
static DEVICE_ATTR_RW(rfi_restriction_err_code);
188190
static DEVICE_ATTR_RW(rfi_restriction_data_rate);
191+
static DEVICE_ATTR_RW(rfi_restriction_data_rate_base);
189192
static DEVICE_ATTR_RO(ddr_data_rate_point_0);
190193
static DEVICE_ATTR_RO(ddr_data_rate_point_1);
191194
static DEVICE_ATTR_RO(ddr_data_rate_point_2);
@@ -248,6 +251,7 @@ static struct attribute *dvfs_attrs[] = {
248251
&dev_attr_rfi_restriction_run_busy.attr,
249252
&dev_attr_rfi_restriction_err_code.attr,
250253
&dev_attr_rfi_restriction_data_rate.attr,
254+
&dev_attr_rfi_restriction_data_rate_base.attr,
251255
&dev_attr_ddr_data_rate_point_0.attr,
252256
&dev_attr_ddr_data_rate_point_1.attr,
253257
&dev_attr_ddr_data_rate_point_2.attr,

0 commit comments

Comments
 (0)