android_kernel_samsung_a7y1.../drivers
Shreeya Patel f261b0ccae Staging: iio: adt7316: Fix i2c data reading, set the data field
[ Upstream commit 688cd642ba0c393344c802647848da5f0d925d0e ]

adt7316_i2c_read function nowhere sets the data field.
It is necessary to have an appropriate value for it.
Hence, assign the value stored in 'ret' variable to data field.

This is an ancient bug, and as no one seems to have noticed,
probably no sense in applying it to stable.

Signed-off-by: Shreeya Patel <shreeya.patel23498@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 12:44:35 +02:00
..
accessibility
acpi ACPI / APEI: Switch estatus pool to use vmalloc memory 2020-04-07 12:43:08 +02:00
amba
android ANDROID: binder: synchronize_rcu() when using POLLFREE. 2020-04-07 08:06:59 +02:00
ata ata: ep93xx: Use proper enums for directions 2020-04-07 12:32:33 +02:00
atm atm: zatm: Fix empty body Clang warnings 2020-04-07 12:35:08 +02:00
auxdisplay
base x86/bugs: Add ITLB_MULTIHIT bug infrastructure 2020-04-07 12:00:26 +02:00
battery
battery_v2
bcma
block rsxx: add missed destroy_workqueue calls in remove 2020-04-07 12:44:10 +02:00
bluetooth Bluetooth: Fix invalid-free in bcsp_close() 2020-04-07 12:36:50 +02:00
bts
bus
ccic
cdrom
char hwrng: stm32 - fix unbalanced pm_runtime_enable 2020-04-07 12:43:44 +02:00
clk clk: rockchip: fix rk3188 sclk_mac_lbtest parameter ordering 2020-04-07 12:44:23 +02:00
clocksource
connector
cpufreq cpufreq: Add NULL checks to show() and store() methods of cpufreq 2020-04-07 12:37:15 +02:00
cpuidle
crypto crypto: mxs-dcp - Fix AES issues 2020-04-07 12:32:55 +02:00
dca
devfreq
dio
dma dmaengine: ioat: fix prototype of ioat_enumerate_channels 2020-04-07 12:32:47 +02:00
dma-buf
edac
eisa
extcon extcon: max8997: Fix lack of path setting in USB device mode 2020-04-07 12:44:20 +02:00
fingerprint
firewire
firmware gsmi: Fix bug in append_to_eventlog sysfs handler 2020-04-07 12:34:33 +02:00
five
fmc
fpga
gator
gpio gpio: syscon: Fix possible NULL ptr usage 2020-04-07 12:33:18 +02:00
gps
gpu drm/i915/cmdparser: Fix jump whitelist clearing 2020-04-07 11:59:34 +02:00
gud
hid HID: core: check whether Usage Page item is after Usage ID items 2020-04-07 12:43:42 +02:00
hsi
hv
hwmon hwmon: (pwm-fan) Silence error on probe deferral 2020-04-07 12:33:24 +02:00
hwspinlock
hwtracing
i2c i2c: riic: Clear NACK in tend isr 2020-04-07 07:41:06 +02:00
ide
idle
iio iio: dac: mcp4922: fix error handling in mcp4922_write_raw 2020-04-07 12:26:37 +02:00
infiniband RDMA/srp: Propagate ib_post_send() failures to the SCSI mid-layer 2020-04-07 12:42:09 +02:00
input Input: cyttsp4_core - fix use after free bug 2020-04-07 12:44:06 +02:00
iommu
ipack
irqchip irqchip/gic-v3-its: Fix LPI release for Multi-MSI devices 2020-04-07 07:36:50 +02:00
isdn mISDN: Fix type of switch control variable in ctrl_teimanager 2020-04-07 12:35:21 +02:00
leds leds: leds-lp5562 allow firmware files up to the maximum length 2020-04-07 07:37:48 +02:00
lguest
lightnvm
macintosh macintosh/windfarm_smu_sat: Fix debug output 2020-04-07 12:35:02 +02:00
mailbox
mcb
md dm: use blk_set_queue_dying() in __dm_destroy() 2020-04-07 12:36:54 +02:00
media media: v4l2-ctrl: fix flags for DO_WHITE_BALANCE 2020-04-07 12:43:22 +02:00
memory
memstick memstick: jmb38x_ms: Fix an error handling path in 'jmb38x_ms_probe()' 2020-04-07 09:27:02 +02:00
message
mfd mfd: max8997: Enale irq-wakeup unconditionally 2020-04-07 12:35:27 +02:00
misc mei: bus: prefix device names on bus with the bus name 2020-04-07 12:43:20 +02:00
mmc mmc: block: Fix tag condition with packed writes 2020-04-07 12:37:02 +02:00
motor
mtd mtd: Remove a debug trace in mtdpart.c 2020-04-07 12:43:14 +02:00
muic
net iwlwifi: mvm: Send non offchannel traffic via AP sta 2020-04-07 12:44:16 +02:00
nfc NFC: nxp-nci: Fix NULL pointer dereference after I2C communication error 2020-04-07 12:44:04 +02:00
ntb ntb: intel: fix return value for ndev_vec_mask() 2020-04-07 12:36:03 +02:00
nubus
nvdimm
nvme
nvmem nvmem: core: return error code instead of NULL from nvmem_device_get 2020-04-07 12:27:36 +02:00
of of: make PowerMac cache node search conditional on CONFIG_PPC_PMAC 2020-04-07 12:27:09 +02:00
oprofile
parisc parisc: Disable HP HSC-PCI Cards to prevent kernel crash 2020-04-07 07:39:52 +02:00
parport
pci PCI: keystone: Use quirk to limit MRRS for K2G 2020-04-07 12:36:44 +02:00
pcmcia
perf
phy
pinctrl pinctrl: qcom: ssbi-gpio: fix gpio-hog related boot issues 2020-04-07 12:44:31 +02:00
platform platform/x86: hp-wmi: Fix ACPI errors caused by too small buffer 2020-04-07 12:43:46 +02:00
pnp
power PM / AVS: SmartReflex: NULL check before some freeing functions is not needed 2020-04-07 12:41:14 +02:00
powercap
pps
ps3
ptp
pwm pwm: Clear chip_data in pwm_put() 2020-04-07 12:43:26 +02:00
rapidio
ras
regulator regulator: tps65910: fix a missing check of return value 2020-04-07 12:42:28 +02:00
remoteproc
reset
rpmsg
rtc rtc: s35390a: Change buf's type to u8 in s35390a_init 2020-04-07 12:35:19 +02:00
s390 scsi: zfcp: drop default switch case which might paper over missing case 2020-04-07 12:44:29 +02:00
sbus
scsi scsi: libsas: Check SMP PHY control function result 2020-04-07 12:43:10 +02:00
security/samsung/icdrv
sensorhub
sensors
sfi
sh
sn
soc
spi spi: omap2-mcspi: Fix DMA and FIFO event trigger size mismatch 2020-04-07 12:36:46 +02:00
spmi
ssb
staging Staging: iio: adt7316: Fix i2c data reading, set the data field 2020-04-07 12:44:35 +02:00
switch
target scsi: target: core: Do not overwrite CDB byte 1 2020-04-07 09:29:07 +02:00
tc
tee
thermal thermal: rcar_thermal: Prevent hardware access during system suspend 2020-04-07 12:35:31 +02:00
thunderbolt thunderbolt: Use 32-bit writes when writing ring producer/consumer 2020-04-07 09:27:58 +02:00
trace
tty serial: ifx6x60: add missed pm_runtime_disable 2020-04-07 12:44:00 +02:00
uh
uio
usb usb: gadget: u_serial: add missing port entry locking 2020-04-07 12:43:52 +02:00
uwb
vfio vfio/pci: Fix potential memory leak in vfio_msi_cap_len 2020-04-07 12:29:30 +02:00
vhost vhost: make sure log_num < in_num 2020-04-06 21:35:05 +02:00
video backlight: lm3639: Unconditionally call led_classdev_unregister 2020-04-07 12:33:07 +02:00
virt
virtio
vision
vlynq
vme
w1
watchdog
xen xen/pciback: Check dev_data before using it 2020-04-07 12:41:44 +02:00
zorro
Kconfig
Makefile