summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio/light
diff options
context:
space:
mode:
authorVasileios Amoiridis <vassilisamir@gmail.com>2024-06-10 01:38:25 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-08-03 10:13:35 +0100
commited4bb53c467f3b8fd11a0394f72d78575f28ad3f (patch)
treea68537e629e21a37ea959390b4354ff069223cec /Documentation/devicetree/bindings/iio/light
parent38605f704e606840d2826b6a9beaac405bb8f808 (diff)
iio: chemical: bme680: Move forced mode setup in ->read_raw()
Whenever the sensor is set to forced mode, a TPHG cycle is triggered and the values of temperature, pressure, humidity and gas become ready to be read. The setup of the forced mode to trigger measurements was located inside the read_{temp/gas}() functions. This was not posing a functional problem since read_{humid/press}() are internally calling read_temp() so the forced mode is set through this call. This is not very clear and it is kind of hidden that regardless of the measurement, the setup of the forced mode needs to happen before any measurement. Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com> Link: https://patch.msgid.link/20240609233826.330516-15-vassilisamir@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/light')
0 files changed, 0 insertions, 0 deletions