linux-stable/drivers
Brian Masney 986739dd1d iio: light: tsl2772: fix reading proximity-diodes from device tree
commit b1cb00d51e upstream.

tsl2772_read_prox_diodes() will correctly parse the properties from
device tree to determine which proximity diode(s) to read from, however
it didn't actually set this value on the struct tsl2772_settings. Let's
go ahead and fix that.

Reported-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/lkml/20230327120823.1369700-1-trix@redhat.com/
Fixes: 94cd1113aa ("iio: tsl2772: add support for reading proximity led settings from device tree")
Signed-off-by: Brian Masney <bmasney@redhat.com>
Link: https://lore.kernel.org/r/20230404011455.339454-1-bmasney@redhat.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-04-26 14:30:02 +02:00
..
accel
accessibility
acpi Revert "ACPICA: Events: Support fixed PCIe wake event" 2023-04-26 14:30:01 +02:00
amba
android
ata
atm atm: idt77252: fix kmemleak when rmmod idt77252 2023-03-30 12:51:20 +02:00
auxdisplay auxdisplay: hd44780: Fix potential memory leak in hd44780_remove() 2023-03-11 13:50:20 +01:00
base drivers: base: dd: fix memory leak with using debugfs_lookup() 2023-03-11 13:50:45 +01:00
bcma
block block: ublk_drv: mark device as LIVE before adding disk 2023-04-20 12:36:56 +02:00
bluetooth bluetooth: btbcm: Fix logic error in forming the board name. 2023-04-20 12:36:51 +02:00
bus bus: imx-weim: fix branch condition evaluates to a garbage value 2023-03-30 12:51:42 +02:00
cdrom
char cpumask: fix incorrect cpumask scanning result checks 2023-03-30 12:51:28 +02:00
clk clk: rs9: Fix suspend/resume 2023-04-20 12:36:53 +02:00
clocksource
comedi
connector
counter counter: 104-quad-8: Fix Synapse action reported for Index signals 2023-04-13 17:02:49 +02:00
cpufreq cpufreq: apple-soc: Fix an IS_ERR() vs NULL check 2023-03-11 13:50:37 +01:00
cpuidle cpuidle: psci: Iterate backwards over list in psci_pd_remove() 2023-03-22 13:38:08 +01:00
crypto crypto: qat - fix out-of-bounds read 2023-03-10 09:29:41 +01:00
cxl cxl/pci: Handle excessive CDAT length 2023-04-13 17:02:42 +02:00
dax dax/kmem: Fix leak of memory-hotplug resources 2023-03-10 09:29:48 +01:00
dca
devfreq
dio
dma dmaengine: apple-admac: Fix 'current_tx' not getting freed 2023-04-20 12:36:53 +02:00
dma-buf
edac
eisa
extcon
firewire
firmware efi: sysfb_efi: Add quirk for Lenovo Yoga Book X91F/L 2023-04-20 12:36:56 +02:00
fpga
fsi
gnss
gpio gpio: davinci: Add irq chip flag to skip set wake 2023-04-13 17:02:40 +02:00
gpu drm: test: Fix 32-bit issue in drm_buddy_test 2023-04-26 14:30:00 +02:00
greybus
hid HID: intel-ish-hid: Fix kernel panic during warm reset 2023-04-20 12:36:58 +02:00
hsi
hte
hv Drivers: vmbus: Check for channel allocation before looking up relids 2023-04-13 17:02:35 +02:00
hwmon hwmon: (xgene) Fix ioremap and memremap leak 2023-04-20 12:36:57 +02:00
hwspinlock
hwtracing coresight-etm4: Fix for() loop drvdata->nr_addr_cmp range bug 2023-04-13 17:02:49 +02:00
i2c i2c: ocores: generate stop condition after timeout in polling mode 2023-04-20 12:37:00 +02:00
i3c
idle Revert "cpuidle, intel_idle: Fix CPUIDLE_FLAG_IRQ_ENABLE *again*" 2023-04-06 12:12:48 +02:00
iio iio: light: tsl2772: fix reading proximity-diodes from device tree 2023-04-26 14:30:02 +02:00
infiniband RDMA/core: Fix GID entry ref leak when create_ah fails 2023-04-20 12:36:55 +02:00
input Input: goodix - add Lenovo Yoga Book X90F to nine_bytes_report DMI table 2023-04-06 12:12:41 +02:00
interconnect interconnect: qcom: qcm2290: Fix MASTER_SNOC_BIMC_NRT 2023-03-30 12:50:48 +02:00
iommu iommufd: Do not corrupt the pfn list when doing batch carry 2023-04-13 17:02:52 +02:00
ipack
irqchip
isdn
leds
macintosh macintosh: windfarm: Use unsigned type for 1-bit bitfields 2023-03-17 08:58:02 +01:00
mailbox
mcb
md dm: fix improper splitting for abnormal bios 2023-04-13 17:02:34 +02:00
media Revert "venus: firmware: Correct non-pix start and end addresses" 2023-04-06 12:12:40 +02:00
memory memory: tegra30-emc: fix interconnect registration race 2023-03-22 13:37:58 +01:00
memstick
message
mfd mfd: arizona: Use pm_runtime_resume_and_get() to prevent refcnt leak 2023-03-11 13:50:38 +01:00
misc misc: vmw_balloon: fix memory leak with using debugfs_lookup() 2023-03-11 13:50:45 +01:00
mmc mmc: sdhci_am654: lower power-on failed message severity 2023-03-22 13:38:07 +01:00
most
mtd mtd: spi-nor: fix memory leak when using debugfs_lookup() 2023-04-26 14:30:01 +02:00
mux
net xen/netback: use same error messages for same errors 2023-04-26 14:30:01 +02:00
nfc nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition 2023-03-22 13:37:49 +01:00
ntb
nubus
nvdimm cxl/pmem: Fix nvdimm registration races 2023-03-10 09:29:42 +01:00
nvme nvme-tcp: fix a possible UAF when failing to allocate an io queue 2023-04-26 14:30:00 +02:00
nvmem
of
opp
parisc
parport
pci PCI: Fix use-after-free in pci_bus_release_domain_nr() 2023-04-20 12:36:58 +02:00
pcmcia
peci
perf perf/amlogic: adjust register offsets 2023-04-26 14:29:54 +02:00
phy phy: rockchip-typec: Fix unsigned comparison with less than zero 2023-03-11 13:50:46 +01:00
pinctrl Revert "pinctrl: amd: Disable and mask interrupts on resume" 2023-04-20 12:36:50 +02:00
platform platform/x86: asus-nb-wmi: Add quirk_asus_tablet_mode to other ROG Flow X13 models 2023-04-26 14:30:01 +02:00
pnp
power power: supply: axp288_fuel_gauge: Added check for negative values 2023-04-20 12:36:56 +02:00
powercap
pps
ps3
ptp ptp_qoriq: fix memory leak in probe() 2023-04-06 12:12:33 +02:00
pwm pwm: Zero-initialize the pwm_state passed to driver's .get_state() 2023-04-26 14:30:01 +02:00
rapidio
ras
regulator regulator: fan53555: Fix wrong TCS_SLEW_MASK 2023-04-26 14:29:56 +02:00
remoteproc remoteproc/mtk_scp: Move clk ops outside send_lock 2023-03-10 09:29:49 +01:00
reset
rpmsg
rtc rtc: allow rtc_read_alarm without read_alarm callback 2023-03-11 13:50:35 +01:00
s390 s390/vfio-ap: fix memory leak in vfio_ap device driver 2023-04-06 12:12:36 +02:00
sbus
scsi scsi: core: Improve scsi_vpd_inquiry() checks 2023-04-26 14:30:00 +02:00
sh
siox
slimbus
soc soc: qcom: llcc: Fix slice configuration values for SC8280XP 2023-03-30 12:51:41 +02:00
soundwire soundwire: cadence: Drain the RX FIFO after an IO timeout 2023-03-11 13:50:46 +01:00
spi spi: spi-rockchip: Fix missing unwind goto in rockchip_sfc_probe() 2023-04-26 14:29:58 +02:00
spmi
ssb
staging staging: rtl8723bs: Pass correct parameters to cfg80211_get_bss() 2023-03-17 08:57:47 +01:00
target scsi: target: iscsi: Fix an error message in iscsi_check_key() 2023-03-30 12:51:28 +02:00
tc
tee tee: amdtee: fix race condition in amdtee_open_session 2023-03-30 12:51:41 +02:00
thermal thermal: intel: Avoid updating unsupported THERM_STATUS_CLEAR mask bits 2023-04-20 12:36:58 +02:00
thunderbolt thunderbolt: Limit USB3 bandwidth of certain Intel USB4 host routers 2023-04-06 12:12:22 +02:00
tty serial: 8250: Prevent starting up DMA Rx on THRI interrupt 2023-04-13 17:02:47 +02:00
ufs scsi: ufs: core: Add soft dependency on governor_simpleondemand 2023-03-30 12:51:29 +02:00
uio
usb USB: serial: option: add Quectel RM500U-CN modem 2023-04-13 17:02:44 +02:00
vdpa vp_vdpa: fix the crash in hot unplug with vp_vdpa 2023-03-22 13:38:06 +01:00
vfio vfio/type1: restore locked_vm 2023-03-10 09:29:56 +01:00
vhost vhost-vdpa: free iommu domain after last use during cleanup 2023-03-22 13:37:46 +01:00
video fbcon: set_con2fb_map needs to set con2fb_map! 2023-04-20 12:36:52 +02:00
virt virt/coco/sev-guest: Add throttling awareness 2023-03-22 13:38:10 +01:00
virtio
vlynq
w1
watchdog watchdog: sbsa_wdog: Make sure the timeout programming is within the limits 2023-03-11 13:50:29 +01:00
xen
zorro
Kconfig
Makefile