|
@@ -518,13 +518,13 @@ static const struct iio_event_spec lis3l02dq_event[] = {
|
|
|
{
|
|
|
.type = IIO_EV_TYPE_THRESH,
|
|
|
.dir = IIO_EV_DIR_RISING,
|
|
|
- .mask_separate = BIT(IIO_EV_INFO_VALUE) |
|
|
|
- BIT(IIO_EV_INFO_ENABLE),
|
|
|
+ .mask_separate = BIT(IIO_EV_INFO_ENABLE),
|
|
|
+ .mask_shared_by_type = BIT(IIO_EV_INFO_VALUE),
|
|
|
}, {
|
|
|
.type = IIO_EV_TYPE_THRESH,
|
|
|
.dir = IIO_EV_DIR_FALLING,
|
|
|
- .mask_separate = BIT(IIO_EV_INFO_VALUE) |
|
|
|
- BIT(IIO_EV_INFO_ENABLE),
|
|
|
+ .mask_separate = BIT(IIO_EV_INFO_ENABLE),
|
|
|
+ .mask_shared_by_type = BIT(IIO_EV_INFO_VALUE),
|
|
|
}
|
|
|
};
|
|
|
|