diff options
author | Crestez Dan Leonard <[email protected]> | 2016-05-13 21:43:34 +0300 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2016-05-29 20:27:16 +0100 |
commit | 99147606155f09feccac67c65387dc62260b749b (patch) | |
tree | c3150c481f141675816479713a48016137038eea /lib/mpi | |
parent | ff05916f94f912b25e8efcf9b02c10d481977bab (diff) |
iio: st_sensors: Disable DRDY at init time
This fixes odd behavior after reboot.
The fact that we set the device to powerdown mode is not sufficient to
prevent DRDY being active because we might still have an unread sample.
Even if powerdown was sufficient keeping DRDY disabled while trigger is
not active is a good idea.
Cc: Giuseppe Barba <[email protected]>
Cc: Denis Ciocca <[email protected]>
Signed-off-by: Crestez Dan Leonard <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions