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

Commit b8b7f5fe authored by Oliver Wang's avatar Oliver Wang
Browse files

input: sensors: correct the min_delay of mpu3050



The unit of min_delay should be in us rather than ms.

Change-Id: I07a0c37232cf8e8b36c30e8be41690e379ad56b1
Signed-off-by: default avatarOliver Wang <mengmeng@codeaurora.org>
parent 7bd86da6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -709,7 +709,7 @@ static int mpu3050_probe(struct i2c_client *client,
	}

	sensor->cdev = sensors_cdev;
	sensor->cdev.min_delay = MPU3050_MIN_POLL_INTERVAL;
	sensor->cdev.min_delay = MPU3050_MIN_POLL_INTERVAL * 1000;
	sensor->cdev.delay_msec = sensor->poll_interval;
	sensor->cdev.sensors_enable = mpu3050_enable_set;
	sensor->cdev.sensors_poll_delay = mpu3050_poll_delay_set;