summaryrefslogtreecommitdiffstats
path: root/drivers/siox
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2019-09-20 10:31:22 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-10-13 08:53:34 +0100
commit0c8a6e72f3c04bfe92a64e5e0791bfe006aabe08 (patch)
treeabe3f1d1d1ece35d93048d2ab50e5a70fee4698e /drivers/siox
parent4dbc54c55923ff0934a2d6e7facdbed21ed423c0 (diff)
downloadlinux-0c8a6e72f3c04bfe92a64e5e0791bfe006aabe08.tar.bz2
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 <alexandru.ardelean@analog.com> Acked-by: Matt Ranostay <matt.ranostay@konsulko.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/siox')
0 files changed, 0 insertions, 0 deletions