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

Commit 94d0f19f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Sensors: Fix the permission of apds993x nodes"

parents 832bf32f 0f53631a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1383,7 +1383,7 @@ static ssize_t apds993x_store_enable_ps_sensor(struct device *dev,
	return count;
}

static DEVICE_ATTR(enable_ps_sensor, S_IWUGO | S_IRUGO,
static DEVICE_ATTR(enable_ps_sensor, S_IWUSR | S_IWGRP | S_IRUGO,
		apds993x_show_enable_ps_sensor,
		apds993x_store_enable_ps_sensor);

@@ -1414,7 +1414,7 @@ static ssize_t apds993x_store_enable_als_sensor(struct device *dev,
	return count;
}

static DEVICE_ATTR(enable_als_sensor, S_IWUGO | S_IRUGO,
static DEVICE_ATTR(enable_als_sensor, S_IWUSR | S_IWGRP | S_IRUGO,
		apds993x_show_enable_als_sensor,
		apds993x_store_enable_als_sensor);