提交 61c29f5b 编写于 作者: S Stefan Achatz 提交者: Jiri Kosina

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: NStefan Achatz <erazor_de@users.sourceforge.net>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 759ae89a
...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册