linux-stable/drivers
Himanshu Jha 892e62fab4 iio: chemical: bme680: Add check for val2 in the write_raw function
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>
2018-08-19 20:07:25 +01:00
..
accessibility
acpi ACPICA: AML Parser: ignore dispatcher error status during table load 2018-07-23 13:39:33 +02:00
amba
android
ata
atm
auxdisplay
base regmap: Support non-incrementing registers 2018-08-19 18:06:59 +01:00
bcma
block for-linus-20180727 2018-07-27 12:51:00 -07:00
bluetooth
bus
cdrom
char In reaction to the fixes to address CVE-2018-1108, some Linux 2018-07-28 19:40:06 -07:00
clk clk: aspeed: Support HPLL strapping on ast2400 2018-07-11 09:34:25 -07:00
clocksource clocksource: arm_arch_timer: Set arch_mem_timer cpumask to cpu_possible_mask 2018-07-10 22:12:47 +02:00
connector
cpufreq cpufreq: qcom-kryo: add NULL entry to the end of_device_id array 2018-07-24 10:44:57 +02:00
cpuidle
crypto
dax * fix one ensures that a variable passed in by reference to 2018-07-13 10:54:01 -07:00
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware
fmc
fpga fpga: altera-cvp: Fix an error handling path in 'altera_cvp_probe()' 2018-07-07 16:55:22 +02:00
fsi
gpio gpio: uniphier: set legitimate irq trigger type in .to_irq hook 2018-07-23 23:13:31 +02:00
gpu drm/imx: imx-drm ldb and ipu-v3 csi fixes 2018-07-27 12:17:31 +10:00
hid Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid 2018-07-09 17:16:11 -07:00
hsi
hv
hwmon
hwspinlock
hwtracing
i2c i2c: imx: use open drain for recovery GPIO 2018-07-24 14:59:12 +02:00
ide
idle
iio iio: chemical: bme680: Add check for val2 in the write_raw function 2018-08-19 20:07:25 +01:00
infiniband Regression, user visible bugs, and crashing fixes: 2018-07-13 12:42:14 -07:00
input Merge 4.18-rc7 into staging-next 2018-07-30 10:13:15 +02:00
iommu Revert "iommu/vt-d: Clean up pasid quirk for pre-production devices" 2018-07-20 13:55:56 +02:00
ipack
irqchip
isdn
leds
lightnvm
macintosh
mailbox
mcb
md - Fix DM writecache target to allow an optional offset to the start of 2018-07-20 14:24:17 -07:00
media
memory
memstick
message
mfd
misc Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2018-07-22 12:04:51 -07:00
mmc mmc: sdhci-esdhc-imx: allow 1.8V modes without 100/200MHz pinctrl states 2018-07-09 11:17:47 +02:00
mtd
mux
net net: axienet: Fix double deregister of mdio 2018-07-24 16:38:01 -07:00
nfc
ntb
nubus
nvdimm * fix one ensures that a variable passed in by reference to 2018-07-13 10:54:01 -07:00
nvme for-linus-20180727 2018-07-27 12:51:00 -07:00
nvmem nvmem: Don't let a NULL cell_id for nvmem_cell_get() crash us 2018-07-07 17:30:25 +02:00
of of: overlay: update phandle cache on overlay apply and remove 2018-07-16 08:41:32 -06:00
opp
oprofile
parisc
parport
pci pci-v4.18-fixes-4 2018-07-27 10:28:51 -07:00
pcmcia
perf
phy
pinctrl pinctrl: nsp: Fix potential NULL dereference 2018-07-14 12:47:04 +02:00
platform platform/x86: dell-laptop: Fix backlight detection 2018-07-20 15:29:59 +03:00
pnp
power
powercap
pps
ps3
ptp ptp: fix missing break in switch 2018-07-18 15:25:25 -07:00
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc rtc: fix alarm read and set offset 2018-07-13 10:37:54 +02:00
s390 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2018-07-06 09:14:34 -07:00
sbus
scsi for-linus-20180727 2018-07-27 12:51:00 -07:00
sfi
sh
siox
slimbus
sn
soc i.MX fixes for 4.18, round 3: 2018-07-19 15:09:59 -07:00
soundwire
spi
spmi
ssb
staging drivers: iio: Update MODULE AUTHOR email address 2018-08-19 17:23:39 +01:00
target
tc
tee
thermal
thunderbolt thunderbolt: Notify userspace when boot_acl is changed 2018-07-07 17:29:17 +02:00
tty
uio uio: fix crash after the device is unregistered 2018-07-07 16:57:35 +02:00
usb usb: core: handle hub C_PORT_OVER_CURRENT condition 2018-07-21 08:38:29 +02:00
uwb
vfio powerpc fixes for 4.18 #4 2018-07-21 16:46:53 -07:00
vhost
video
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile