Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: light: gp2ap020a00f: fix iio_triggered_buffer_{predisable,posten…
…able} 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. This change moves the postenable/predisable hooks into the correct positions. Signed-off-by: Alexandru Ardelean <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
- Loading branch information