mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 13:43:55 +08:00
892e62fab4
val2 is responsible for the floating part of the number to be written to the device. We don't need the floating part while writing the oversampling ratio for BME680 since the available oversampling ratios are pure natural numbers. So, add a sanity check to make sure val2 is 0. Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> |
||
---|---|---|
.. | ||
ams-iaq-core.c | ||
atlas-ph-sensor.c | ||
bme680_core.c | ||
bme680_i2c.c | ||
bme680_spi.c | ||
bme680.h | ||
ccs811.c | ||
Kconfig | ||
Makefile | ||
vz89x.c |