diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2020-03-06 13:11:37 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-03-08 17:28:54 +0000 |
commit | a305b0c9edd29ec6f571179c34d5529fae50d6b9 (patch) | |
tree | 7734f5e6cc49fc662b5e3b6539d5fdd9b35d9ea9 /.mailmap | |
parent | d7cf5f60474cf591db771bc15e3b7320be5399e0 (diff) | |
download | linux-a305b0c9edd29ec6f571179c34d5529fae50d6b9.tar.bz2 |
iio: light: gp2ap020a00f: fix iio_triggered_buffer_{predisable,postenable} 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 <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions