]> git.baikalelectronics.ru Git - kernel.git/commit
iio: imu: inv_mpu6050: add comment about frequencies
authorMartin Kelly <mkelly@xevo.com>
Mon, 21 May 2018 18:41:54 +0000 (11:41 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 May 2018 17:29:09 +0000 (18:29 +0100)
commit1c1b06a9303a9ca38e90c7177a4d85a03c531ee6
tree75e467f4968fe110479a70d60266b8e296105218
parent78b23ed7b82599f8d61c2e75dce580daf55599bb
iio: imu: inv_mpu6050: add comment about frequencies

Although the driver allows frequencies between 4 and 1000 Hz, only the
frequencies advertised in the available frequencies file are backed
properly by a low-pass filter to prevent aliasing, so it's best to use
them. Since this is not obvious to the user, add a comment explaining
what's going on.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Acked-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c