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

Commit d4a4ae04 authored by Daniel Baluta's avatar Daniel Baluta Committed by Jonathan Cameron
Browse files

iio: imu: kmx61: Use false instead of 0 for ev_enable_state

parent 0475c685
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -972,7 +972,7 @@ static int kmx61_write_event_config(struct iio_dev *indio_dev,
	mutex_lock(&data->lock);

	if (!state && data->motion_trig_on) {
		data->ev_enable_state = 0;
		data->ev_enable_state = false;
		goto err_unlock;
	}