Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 723b991a authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

USB: ehci: fix debugfs 'lpm' permissions



The permissions for the lpm debugfs file is incorrect, this fixes it.

Reported-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Cc: Alek Du <alek.du@intel.com>
Cc: Jacob Pan <jacob.jun.pan@intel.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e502ac5e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;