mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
iio: accel: bmc150: Fix iio_event_spec direction
Change event spec direction from IIO_EV_DIR_RISING | IIO_EV_DIR_FALLING to IIO_EV_DIR_EITHER Suggested-by: Daniel Baluta <[email protected]> Signed-off-by: Srinivas Pandruvada <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
This commit is contained in:
parent
8d5a978192
commit
1174124c45
1 changed files with 1 additions and 1 deletions
|
|
@ -853,7 +853,7 @@ static const struct attribute_group bmc150_accel_attrs_group = {
|
|||
|
||||
static const struct iio_event_spec bmc150_accel_event = {
|
||||
.type = IIO_EV_TYPE_ROC,
|
||||
.dir = IIO_EV_DIR_RISING | IIO_EV_DIR_FALLING,
|
||||
.dir = IIO_EV_DIR_EITHER,
|
||||
.mask_separate = BIT(IIO_EV_INFO_VALUE) |
|
||||
BIT(IIO_EV_INFO_ENABLE) |
|
||||
BIT(IIO_EV_INFO_PERIOD)
|
||||
|
|
|
|||
Loading…
Reference in a new issue