]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: intel_pmc_core: Fix file permissions for ltr_show
authorRajneesh Bhardwaj <rajneesh.bhardwaj@linux.intel.com>
Fri, 1 Feb 2019 07:32:28 +0000 (13:02 +0530)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 21 Feb 2019 13:39:52 +0000 (15:39 +0200)
commite5a538ed062f0146deab16dbef0a3043ddd079de
tree1361ff00b5bc656df4cdd7b43239f6d2e2c9c178
parent20688297e4b8d01d97f81309f2c51c3f7e4a978a
platform/x86: intel_pmc_core: Fix file permissions for ltr_show

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" <david.e.box@intel.com>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Fixes: a1a51d518c87 ("platform/x86: intel_pmc_core: Show Latency Tolerance info")
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_pmc_core.c