mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
iio: imu: kmx61: Use false instead of 0 for ev_enable_state
Signed-off-by: Daniel Baluta <[email protected]> Acked-by: Hartmut Knaack <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
This commit is contained in:
parent
0475c68544
commit
d4a4ae04d2
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue