commit | 0e4f0b42f42d88507b48282c8915f502551534e4 | [log] [tgz] |
---|---|---|
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | Wed May 29 16:01:08 2019 +0300 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Mon Jun 17 21:06:45 2019 +0100 |
tree | 25dd6072faf606ee7d2a8e9ffc6c69ef4340f58b | |
parent | 4b65e3ba97ca1a8ad487a40fe2be807bea324d10 [diff] |
iio: adxl372: fix iio_triggered_buffer_{pre,post}enable positions The iio_triggered_buffer_{predisable,postenable} functions attach/detach the poll functions. For the predisable hook, the disable code should occur before detaching the poll func, and for the postenable hook, the poll func should be attached before the enable code. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>