aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/imu/kmx61.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/imu/kmx61.c')
-rw-r--r--drivers/iio/imu/kmx61.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/imu/kmx61.c b/drivers/iio/imu/kmx61.c
index 777b7f68591c..a70a3ef91793 100644
--- a/drivers/iio/imu/kmx61.c
+++ b/drivers/iio/imu/kmx61.c
@@ -972,7 +972,7 @@ static int kmx61_write_event_config(struct iio_dev *indio_dev,
972 mutex_lock(&data->lock); 972 mutex_lock(&data->lock);
973 973
974 if (!state && data->motion_trig_on) { 974 if (!state && data->motion_trig_on) {
975 data->ev_enable_state = 0; 975 data->ev_enable_state = false;
976 goto err_unlock; 976 goto err_unlock;
977 } 977 }
978 978