diff options
author | Stefan Popa | 2019-09-10 17:44:46 +0300 |
---|---|---|
committer | Jonathan Cameron | 2019-10-09 19:11:25 +0100 |
commit | d9a997bd4d762d5bd8cc548d762902f58b5e0a74 (patch) | |
tree | c3d04567183c34b2a68f515e174f14f6185c25df /fs/compat_binfmt_elf.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 <stefan.popa@analog.com>
Fixes: f4f55ce38e5f ("iio:adxl372: Add FIFO and interrupts support")
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'fs/compat_binfmt_elf.c')
0 files changed, 0 insertions, 0 deletions