diff options
author | Stefan Popa <[email protected]> | 2019-09-10 17:44:46 +0300 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2019-10-09 19:11:25 +0100 |
commit | d9a997bd4d762d5bd8cc548d762902f58b5e0a74 (patch) | |
tree | c3d04567183c34b2a68f515e174f14f6185c25df /lib/netdev-notifier-error-inject.c | |
parent | 62df81b74393079debf04961c48cb22268fc5fab (diff) |
iio: accel: adxl372: Perform a reset at start up
We need to perform a reset a start up to make sure that the chip is in a
consistent state. This reset also disables all the interrupts which
should only be enabled together with the iio buffer. Not doing this, was
sometimes causing unwanted interrupts to trigger.
Signed-off-by: Stefan Popa <[email protected]>
Fixes: f4f55ce38e5f ("iio:adxl372: Add FIFO and interrupts support")
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions