]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: imu: inv_icm42600: delete unneeded update watermark call
authorJean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Mon, 27 May 2024 21:00:08 +0000 (21:00 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 2 Jun 2024 12:16:02 +0000 (13:16 +0100)
commit245f3b149e6cc3ac6ee612cdb7042263bfc9e73c
tree5e3f2d3b3d4a1cfc5eb15355255aa256bac5ac52
parentd7bd473632d07f8a54655c270c0940cc3671c548
iio: imu: inv_icm42600: delete unneeded update watermark call

Update watermark will be done inside the hwfifo_set_watermark callback
just after the update_scan_mode. It is useless to do it here.

Fixes: 7f85e42a6c54 ("iio: imu: inv_icm42600: add buffer support in iio devices")
Cc: stable@vger.kernel.org
Signed-off-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Link: https://lore.kernel.org/r/20240527210008.612932-1-inv.git-commit@tdk.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/inv_icm42600/inv_icm42600_accel.c
drivers/iio/imu/inv_icm42600/inv_icm42600_gyro.c