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

Commit 4d7bc388 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Staging: samsung-laptop: fix up my fixup for some sysfs attribute permissions



They should be writable by root, not readable.
Doh, stupid me with the wrong flags.

Reported-by: default avatarJonathan Cameron <jic23@cam.ac.uk>
Cc: stable <stable@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent c9e51d9e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -356,7 +356,7 @@ static ssize_t set_silent_state(struct device *dev,
	}
	return count;
}
static DEVICE_ATTR(silent, S_IRUSR | S_IRUGO,
static DEVICE_ATTR(silent, S_IWUSR | S_IRUGO,
		   get_silent_state, set_silent_state);