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

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

Merge "input: sensors: modify a logic error for lis3dh sensor"

parents 132fea82 bb037971
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1637,7 +1637,7 @@ static int lis3dh_acc_poll_delay_set(struct sensors_classdev *sensors_cdev,
	 */
	if (atomic_read(&acc->enabled)) {
		err = lis3dh_acc_update_odr(acc, delay_msec);
		if (!err) {
		if (err < 0) {
			dev_err(&acc->client->dev, "Cannot update ODR\n");
			err = -EBUSY;
			goto exit;