mirror of https://gitee.com/openkylin/linux.git
9b58916035
The iio_triggered_buffer_postenable() hook should be called first to attach the poll function and the iio_triggered_buffer_predisable() hook should be called last in the predisable hook. This change updates the driver to attach/detach the poll func in the correct order. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
am2315.c | ||
dht11.c | ||
hdc100x.c | ||
hid-sensor-humidity.c | ||
hts221.h | ||
hts221_buffer.c | ||
hts221_core.c | ||
hts221_i2c.c | ||
hts221_spi.c | ||
htu21.c | ||
si7005.c | ||
si7020.c |