Skip to content

Commit 008bec8

Browse files
ricardonij-intel
authored andcommitted
platform/x86/intel/tpmi/plr: Make the file domain<n>/status writeable
The file sys/kernel/debug/tpmi-<n>/plr/domain<n>/status has store and show callbacks. Make it writeable. Fixes: 811f67c ("platform/x86/intel/tpmi: Add new auxiliary driver for performance limits") Signed-off-by: Ricardo Neri <[email protected]> Link: https://patch.msgid.link/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
1 parent 6222883 commit 008bec8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/platform/x86/intel/plr_tpmi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ static int intel_plr_probe(struct auxiliary_device *auxdev, const struct auxilia
316316
snprintf(name, sizeof(name), "domain%d", i);
317317

318318
dentry = debugfs_create_dir(name, plr->dbgfs_dir);
319-
debugfs_create_file("status", 0444, dentry, &plr->die_info[i],
319+
debugfs_create_file("status", 0644, dentry, &plr->die_info[i],
320320
&plr_status_fops);
321321
}
322322

0 commit comments

Comments
 (0)