HID: roccat-koneplus: vorrect mode of sysfs attr 'sensor'
[firefly-linux-kernel-4.4.55.git] / drivers / hid / hid-roccat-koneplus.c
index a8e2117756acea1475fddc1d9b3324960106aa11..33eec74e06158be135d254e2d66d849267f27900 100644 (file)
@@ -460,7 +460,7 @@ static struct device_attribute koneplus_attributes[] = {
 
 static struct bin_attribute koneplus_bin_attributes[] = {
        {
-               .attr = { .name = "sensor", .mode = 0220 },
+               .attr = { .name = "sensor", .mode = 0660 },
                .size = sizeof(struct koneplus_sensor),
                .read = koneplus_sysfs_read_sensor,
                .write = koneplus_sysfs_write_sensor