projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
759ae89
)
HID: roccat-koneplus: vorrect mode of sysfs attr 'sensor'
author
Stefan Achatz
<erazor_de@users.sourceforge.net>
Mon, 14 Mar 2011 20:43:07 +0000
(21:43 +0100)
committer
Jiri Kosina
<jkosina@suse.cz>
Tue, 15 Mar 2011 14:41:20 +0000
(15:41 +0100)
Mode of sysfs attribute 'sensor' was wrongly set to writeonly.
Corrected this to readwrite.
Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-roccat-koneplus.c
patch
|
blob
|
history
diff --git
a/drivers/hid/hid-roccat-koneplus.c
b/drivers/hid/hid-roccat-koneplus.c
index a8e2117756acea1475fddc1d9b3324960106aa11..33eec74e06158be135d254e2d66d849267f27900 100644
(file)
--- a/
drivers/hid/hid-roccat-koneplus.c
+++ b/
drivers/hid/hid-roccat-koneplus.c
@@
-460,7
+460,7
@@
static struct device_attribute koneplus_attributes[] = {
static struct bin_attribute koneplus_bin_attributes[] = {
{
- .attr = { .name = "sensor", .mode = 0
22
0 },
+ .attr = { .name = "sensor", .mode = 0
66
0 },
.size = sizeof(struct koneplus_sensor),
.read = koneplus_sysfs_read_sensor,
.write = koneplus_sysfs_write_sensor