|
@@ -894,7 +894,7 @@ static const struct attribute_group kxcjk1013_attrs_group = {
|
|
|
|
|
|
static const struct iio_event_spec kxcjk1013_event = {
|
|
static const struct iio_event_spec kxcjk1013_event = {
|
|
.type = IIO_EV_TYPE_THRESH,
|
|
.type = IIO_EV_TYPE_THRESH,
|
|
- .dir = IIO_EV_DIR_RISING | IIO_EV_DIR_FALLING,
|
|
|
|
|
|
+ .dir = IIO_EV_DIR_EITHER,
|
|
.mask_separate = BIT(IIO_EV_INFO_VALUE) |
|
|
.mask_separate = BIT(IIO_EV_INFO_VALUE) |
|
|
BIT(IIO_EV_INFO_ENABLE) |
|
|
BIT(IIO_EV_INFO_ENABLE) |
|
|
BIT(IIO_EV_INFO_PERIOD)
|
|
BIT(IIO_EV_INFO_PERIOD)
|