Skip to content
Snippets Groups Projects
Commit 61c29f5b authored by Stefan Achatz's avatar Stefan Achatz Committed by Jiri Kosina
Browse files

HID: roccat-koneplus: vorrect mode of sysfs attr 'sensor'


Mode of sysfs attribute 'sensor' was wrongly set to writeonly.
Corrected this to readwrite.

Signed-off-by: default avatarStefan Achatz <erazor_de@users.sourceforge.net>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 759ae89a
No related branches found
No related tags found
No related merge requests found
...@@ -460,7 +460,7 @@ static struct device_attribute koneplus_attributes[] = { ...@@ -460,7 +460,7 @@ static struct device_attribute koneplus_attributes[] = {
static struct bin_attribute koneplus_bin_attributes[] = { static struct bin_attribute koneplus_bin_attributes[] = {
{ {
.attr = { .name = "sensor", .mode = 0220 }, .attr = { .name = "sensor", .mode = 0660 },
.size = sizeof(struct koneplus_sensor), .size = sizeof(struct koneplus_sensor),
.read = koneplus_sysfs_read_sensor, .read = koneplus_sysfs_read_sensor,
.write = koneplus_sysfs_write_sensor .write = koneplus_sysfs_write_sensor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment