Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: chemical: atlas-ph-sensor: fix iio_triggered_buffer_predisable()…
… position The iio_triggered_buffer_{predisable,postenable} functions attach/detach the poll functions. The iio_triggered_buffer_predisable() should be called last, to detach the poll func after the devices has been suspended. The position of iio_triggered_buffer_postenable() is correct. Note this is not stable material. It's a fix in the logical model rather fixing an actual bug. These are being tidied up throughout the subsystem to allow more substantial rework that was blocked by variations in how things were done. Signed-off-by: Alexandru Ardelean <[email protected]> Acked-by: Matt Ranostay <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
- Loading branch information