projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d682701
)
platform/x86: intel_pmc_core: Fix file permissions for ltr_show
author
Rajneesh Bhardwaj
<
[email protected]
>
Fri, 1 Feb 2019 07:32:28 +0000
(13:02 +0530)
committer
Andy Shevchenko
<
[email protected]
>
Thu, 21 Feb 2019 13:39:52 +0000
(15:39 +0200)
File permissions for ltr_show attribute should be similar to other
debugfs attributes created by this driver. '0644' should be used only
when there is a write operation desired such as for ltr_ignore.
Cc: "David E. Box" <
[email protected]
>
Cc: Srinivas Pandruvada <
[email protected]
>
Fixes: 2eb150558bb7 ("platform/x86: intel_pmc_core: Show Latency Tolerance info")
Signed-off-by: Rajneesh Bhardwaj <
[email protected]
>
Signed-off-by: Andy Shevchenko <
[email protected]
>
drivers/platform/x86/intel_pmc_core.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/intel_pmc_core.c
b/drivers/platform/x86/intel_pmc_core.c
index 80936e6bdc619e0a9e904f8a0acedc5c67c4cb29..125461ca2927f6928c460fbc93e4c3030ace5bbc 100644
(file)
--- a/
drivers/platform/x86/intel_pmc_core.c
+++ b/
drivers/platform/x86/intel_pmc_core.c
@@
-702,7
+702,7
@@
static int pmc_core_dbgfs_register(struct pmc_dev *pmcdev)
debugfs_create_file("ltr_ignore", 0644, dir, pmcdev,
&pmc_core_ltr_ignore_ops);
- debugfs_create_file("ltr_show", 0
6
44, dir, pmcdev, &pmc_core_ltr_fops);
+ debugfs_create_file("ltr_show", 0
4
44, dir, pmcdev, &pmc_core_ltr_fops);
if (pmcdev->map->pll_sts)
debugfs_create_file("pll_status", 0444, dir, pmcdev,