mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
USB: ehci: fix debugfs 'lpm' permissions
The permissions for the lpm debugfs file is incorrect, this fixes it. Reported-by: Linus Torvalds <[email protected]> Cc: Alek Du <[email protected]> Cc: Jacob Pan <[email protected]> Cc: David Brownell <[email protected]> Cc: Alan Stern <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
e502ac5e1e
commit
723b991a62
1 changed files with 1 additions and 1 deletions
|
|
@ -1067,7 +1067,7 @@ static inline void create_debug_files (struct ehci_hcd *ehci)
|
|||
&debug_registers_fops))
|
||||
goto file_error;
|
||||
|
||||
if (!debugfs_create_file("lpm", S_IRUGO|S_IWUGO, ehci->debug_dir, bus,
|
||||
if (!debugfs_create_file("lpm", S_IRUGO|S_IWUSR, ehci->debug_dir, bus,
|
||||
&debug_lpm_fops))
|
||||
goto file_error;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue